Struct x11rb_protocol::protocol::xproto::ColormapState
source · [−]pub struct ColormapState(_);
Expand description
Fields
Uninstalled
- The colormap was uninstalled.Installed
- The colormap was installed.
Implementations
sourceimpl ColormapState
impl ColormapState
pub const UNINSTALLED: Self = Self(0)
pub const INSTALLED: Self = Self(1)
Trait Implementations
sourceimpl Clone for ColormapState
impl Clone for ColormapState
sourcefn clone(&self) -> ColormapState
fn clone(&self) -> ColormapState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColormapState
impl Debug for ColormapState
sourceimpl Default for ColormapState
impl Default for ColormapState
sourcefn default() -> ColormapState
fn default() -> ColormapState
Returns the “default value” for a type. Read more
sourceimpl From<ColormapState> for u8
impl From<ColormapState> for u8
sourcefn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
sourceimpl From<ColormapState> for Option<u8>
impl From<ColormapState> for Option<u8>
sourcefn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
sourceimpl From<ColormapState> for u16
impl From<ColormapState> for u16
sourcefn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
sourceimpl From<ColormapState> for Option<u16>
impl From<ColormapState> for Option<u16>
sourcefn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
sourceimpl From<ColormapState> for u32
impl From<ColormapState> for u32
sourcefn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
sourceimpl From<ColormapState> for Option<u32>
impl From<ColormapState> for Option<u32>
sourcefn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for ColormapState
impl From<u8> for ColormapState
sourceimpl Hash for ColormapState
impl Hash for ColormapState
sourceimpl Ord for ColormapState
impl Ord for ColormapState
sourceimpl PartialEq<ColormapState> for ColormapState
impl PartialEq<ColormapState> for ColormapState
sourcefn eq(&self, other: &ColormapState) -> bool
fn eq(&self, other: &ColormapState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ColormapState) -> bool
fn ne(&self, other: &ColormapState) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ColormapState> for ColormapState
impl PartialOrd<ColormapState> for ColormapState
sourcefn partial_cmp(&self, other: &ColormapState) -> Option<Ordering>
fn partial_cmp(&self, other: &ColormapState) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for ColormapState
impl Eq for ColormapState
impl StructuralEq for ColormapState
impl StructuralPartialEq for ColormapState
Auto Trait Implementations
impl RefUnwindSafe for ColormapState
impl Send for ColormapState
impl Sync for ColormapState
impl Unpin for ColormapState
impl UnwindSafe for ColormapState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more