Struct x11rb::protocol::xproto::ColormapEnum
source · pub struct ColormapEnum(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl ColormapEnum
impl ColormapEnum
pub const NONE: ColormapEnum = _
Trait Implementations§
source§impl Clone for ColormapEnum
impl Clone for ColormapEnum
source§fn clone(&self) -> ColormapEnum
fn clone(&self) -> ColormapEnum
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 ColormapEnum
impl Debug for ColormapEnum
source§impl Default for ColormapEnum
impl Default for ColormapEnum
source§fn default() -> ColormapEnum
fn default() -> ColormapEnum
Returns the “default value” for a type. Read more
source§impl From<u8> for ColormapEnum
impl From<u8> for ColormapEnum
source§fn from(value: u8) -> ColormapEnum
fn from(value: u8) -> ColormapEnum
Converts to this type from the input type.
source§impl Hash for ColormapEnum
impl Hash for ColormapEnum
source§impl Ord for ColormapEnum
impl Ord for ColormapEnum
source§fn cmp(&self, other: &ColormapEnum) -> Ordering
fn cmp(&self, other: &ColormapEnum) -> 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 ColormapEnum
impl PartialEq for ColormapEnum
source§fn eq(&self, other: &ColormapEnum) -> bool
fn eq(&self, other: &ColormapEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ColormapEnum
impl PartialOrd for ColormapEnum
source§fn partial_cmp(&self, other: &ColormapEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &ColormapEnum) -> 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 ColormapEnum
impl Eq for ColormapEnum
impl StructuralPartialEq for ColormapEnum
Auto Trait Implementations§
impl Freeze for ColormapEnum
impl RefUnwindSafe for ColormapEnum
impl Send for ColormapEnum
impl Sync for ColormapEnum
impl Unpin for ColormapEnum
impl UnwindSafe for ColormapEnum
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