Struct x11rb_protocol::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: Self = _
pub const INSTALLED: Self = _
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<'de> Deserialize<'de> for ColormapState
impl<'de> Deserialize<'de> for ColormapState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ColormapState> for Option<u16>
impl From<ColormapState> for Option<u16>
source§fn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
source§impl From<ColormapState> for Option<u32>
impl From<ColormapState> for Option<u32>
source§fn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
source§impl From<ColormapState> for Option<u8>
impl From<ColormapState> for Option<u8>
source§fn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
source§impl From<ColormapState> for u16
impl From<ColormapState> for u16
source§fn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
source§impl From<ColormapState> for u32
impl From<ColormapState> for u32
source§fn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
source§impl From<ColormapState> for u8
impl From<ColormapState> for u8
source§fn from(input: ColormapState) -> Self
fn from(input: ColormapState) -> Self
Converts to this type from the input type.
source§impl From<u8> for ColormapState
impl From<u8> for ColormapState
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 moresource§impl Serialize for ColormapState
impl Serialize 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