Struct x11rb_protocol::protocol::xproto::ColormapEnum
source · pub struct ColormapEnum(/* private fields */);
Implementations§
source§impl ColormapEnum
impl 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<'de> Deserialize<'de> for ColormapEnum
impl<'de> Deserialize<'de> for ColormapEnum
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<ColormapEnum> for Option<u16>
impl From<ColormapEnum> for Option<u16>
source§fn from(input: ColormapEnum) -> Self
fn from(input: ColormapEnum) -> Self
Converts to this type from the input type.
source§impl From<ColormapEnum> for Option<u32>
impl From<ColormapEnum> for Option<u32>
source§fn from(input: ColormapEnum) -> Self
fn from(input: ColormapEnum) -> Self
Converts to this type from the input type.
source§impl From<ColormapEnum> for Option<u8>
impl From<ColormapEnum> for Option<u8>
source§fn from(input: ColormapEnum) -> Self
fn from(input: ColormapEnum) -> Self
Converts to this type from the input type.
source§impl From<ColormapEnum> for u16
impl From<ColormapEnum> for u16
source§fn from(input: ColormapEnum) -> Self
fn from(input: ColormapEnum) -> Self
Converts to this type from the input type.
source§impl From<ColormapEnum> for u32
impl From<ColormapEnum> for u32
source§fn from(input: ColormapEnum) -> Self
fn from(input: ColormapEnum) -> Self
Converts to this type from the input type.
source§impl From<ColormapEnum> for u8
impl From<ColormapEnum> for u8
source§fn from(input: ColormapEnum) -> Self
fn from(input: ColormapEnum) -> Self
Converts to this type from the input type.
source§impl From<u8> for ColormapEnum
impl From<u8> for ColormapEnum
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 moresource§impl Serialize for ColormapEnum
impl Serialize for ColormapEnum
impl 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