Struct x11rb_protocol::protocol::xproto::VisualClass
source · pub struct VisualClass(/* private fields */);
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§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 StructuralEq for VisualClass
impl StructuralPartialEq for VisualClass
Auto Trait Implementations§
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