Enum xcb::x::VisualClass
source · #[repr(u32)]pub enum VisualClass {
StaticGray = 0,
GrayScale = 1,
StaticColor = 2,
PseudoColor = 3,
TrueColor = 4,
DirectColor = 5,
}
Variants§
Trait Implementations§
source§impl Clone for VisualClass
impl Clone for VisualClass
source§fn clone(&self) -> VisualClass
fn clone(&self) -> VisualClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VisualClass
impl Debug for VisualClass
source§impl Ord for VisualClass
impl Ord for VisualClass
source§fn cmp(&self, other: &VisualClass) -> Ordering
fn cmp(&self, other: &VisualClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for VisualClass
impl PartialEq for VisualClass
source§fn eq(&self, other: &VisualClass) -> bool
fn eq(&self, other: &VisualClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VisualClass
impl PartialOrd for VisualClass
source§fn partial_cmp(&self, other: &VisualClass) -> Option<Ordering>
fn partial_cmp(&self, other: &VisualClass) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for VisualClass
impl Eq for VisualClass
impl StructuralPartialEq for VisualClass
Auto Trait Implementations§
impl Freeze for VisualClass
impl RefUnwindSafe for VisualClass
impl Send for VisualClass
impl Sync for VisualClass
impl Unpin for VisualClass
impl UnwindSafe for VisualClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more