Struct x11rb_protocol::protocol::xproto::VisualClass
source · pub struct VisualClass(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl VisualClass
impl VisualClass
pub const STATIC_GRAY: Self = _
pub const GRAY_SCALE: Self = _
pub const STATIC_COLOR: Self = _
pub const PSEUDO_COLOR: Self = _
pub const TRUE_COLOR: Self = _
pub const DIRECT_COLOR: Self = _
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 Default for VisualClass
impl Default for VisualClass
source§fn default() -> VisualClass
fn default() -> VisualClass
Returns the “default value” for a type. Read more
source§impl From<VisualClass> for Option<u16>
impl From<VisualClass> for Option<u16>
source§fn from(input: VisualClass) -> Self
fn from(input: VisualClass) -> Self
Converts to this type from the input type.
source§impl From<VisualClass> for Option<u32>
impl From<VisualClass> for Option<u32>
source§fn from(input: VisualClass) -> Self
fn from(input: VisualClass) -> Self
Converts to this type from the input type.
source§impl From<VisualClass> for Option<u8>
impl From<VisualClass> for Option<u8>
source§fn from(input: VisualClass) -> Self
fn from(input: VisualClass) -> Self
Converts to this type from the input type.
source§impl From<VisualClass> for u16
impl From<VisualClass> for u16
source§fn from(input: VisualClass) -> Self
fn from(input: VisualClass) -> Self
Converts to this type from the input type.
source§impl From<VisualClass> for u32
impl From<VisualClass> for u32
source§fn from(input: VisualClass) -> Self
fn from(input: VisualClass) -> Self
Converts to this type from the input type.
source§impl From<VisualClass> for u8
impl From<VisualClass> for u8
source§fn from(input: VisualClass) -> Self
fn from(input: VisualClass) -> Self
Converts to this type from the input type.
source§impl From<u8> for VisualClass
impl From<u8> for VisualClass
source§impl Hash for VisualClass
impl Hash 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
)