Struct x11rb::protocol::xproto::ColormapState
source · pub struct ColormapState(u8);
Expand description
§Fields
Uninstalled
- The colormap was uninstalled.Installed
- The colormap was installed.
Tuple Fields§
§0: u8
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§impl PartialOrd for ColormapState
impl PartialOrd for ColormapState
impl Copy for ColormapState
impl Eq for ColormapState
impl StructuralPartialEq for ColormapState
Auto Trait Implementations§
impl Freeze for ColormapState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)