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§impl PartialOrd for VisualClass
impl PartialOrd for VisualClass
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)