Struct x11rb::protocol::xproto::ColormapState
source · pub struct ColormapState(/* private fields */);
Expand description
Fields
Uninstalled
- The colormap was uninstalled.Installed
- The colormap was installed.
Implementations§
source§impl ColormapState
impl ColormapState
pub const UNINSTALLED: ColormapState = _
pub const INSTALLED: ColormapState = _
Trait Implementations§
source§impl Clone for ColormapState
impl Clone for ColormapState
source§fn clone(&self) -> ColormapState
fn clone(&self) -> ColormapState
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 ColormapState
impl Debug for ColormapState
source§impl Default for ColormapState
impl Default for ColormapState
source§fn default() -> ColormapState
fn default() -> ColormapState
Returns the “default value” for a type. Read more
source§impl From<u8> for ColormapState
impl From<u8> for ColormapState
source§fn from(value: u8) -> ColormapState
fn from(value: u8) -> ColormapState
Converts to this type from the input type.
source§impl Hash for ColormapState
impl Hash for ColormapState
source§impl Ord for ColormapState
impl Ord for ColormapState
source§fn cmp(&self, other: &ColormapState) -> Ordering
fn cmp(&self, other: &ColormapState) -> 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 ColormapState
impl PartialEq for ColormapState
source§fn 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 ==
.source§impl PartialOrd for ColormapState
impl PartialOrd for ColormapState
source§fn partial_cmp(&self, other: &ColormapState) -> Option<Ordering>
fn partial_cmp(&self, other: &ColormapState) -> 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 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§
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