Struct x11rb::protocol::xproto::VisualClass
source · pub struct VisualClass(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl VisualClass
impl VisualClass
pub const STATIC_GRAY: VisualClass = _
pub const GRAY_SCALE: VisualClass = _
pub const STATIC_COLOR: VisualClass = _
pub const PSEUDO_COLOR: VisualClass = _
pub const TRUE_COLOR: VisualClass = _
pub const DIRECT_COLOR: VisualClass = _
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<u8> for VisualClass
impl From<u8> for VisualClass
source§fn from(value: u8) -> VisualClass
fn from(value: u8) -> VisualClass
Converts to this type from the input type.
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 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