Struct x11rb_protocol::protocol::xproto::ColormapAlloc
source · pub struct ColormapAlloc(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for ColormapAlloc
impl Clone for ColormapAlloc
source§fn clone(&self) -> ColormapAlloc
fn clone(&self) -> ColormapAlloc
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 ColormapAlloc
impl Debug for ColormapAlloc
source§impl Default for ColormapAlloc
impl Default for ColormapAlloc
source§fn default() -> ColormapAlloc
fn default() -> ColormapAlloc
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ColormapAlloc
impl<'de> Deserialize<'de> for ColormapAlloc
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<ColormapAlloc> for Option<u16>
impl From<ColormapAlloc> for Option<u16>
source§fn from(input: ColormapAlloc) -> Self
fn from(input: ColormapAlloc) -> Self
Converts to this type from the input type.
source§impl From<ColormapAlloc> for Option<u32>
impl From<ColormapAlloc> for Option<u32>
source§fn from(input: ColormapAlloc) -> Self
fn from(input: ColormapAlloc) -> Self
Converts to this type from the input type.
source§impl From<ColormapAlloc> for Option<u8>
impl From<ColormapAlloc> for Option<u8>
source§fn from(input: ColormapAlloc) -> Self
fn from(input: ColormapAlloc) -> Self
Converts to this type from the input type.
source§impl From<ColormapAlloc> for u16
impl From<ColormapAlloc> for u16
source§fn from(input: ColormapAlloc) -> Self
fn from(input: ColormapAlloc) -> Self
Converts to this type from the input type.
source§impl From<ColormapAlloc> for u32
impl From<ColormapAlloc> for u32
source§fn from(input: ColormapAlloc) -> Self
fn from(input: ColormapAlloc) -> Self
Converts to this type from the input type.
source§impl From<ColormapAlloc> for u8
impl From<ColormapAlloc> for u8
source§fn from(input: ColormapAlloc) -> Self
fn from(input: ColormapAlloc) -> Self
Converts to this type from the input type.
source§impl From<u8> for ColormapAlloc
impl From<u8> for ColormapAlloc
source§impl Hash for ColormapAlloc
impl Hash for ColormapAlloc
source§impl Ord for ColormapAlloc
impl Ord for ColormapAlloc
source§fn cmp(&self, other: &ColormapAlloc) -> Ordering
fn cmp(&self, other: &ColormapAlloc) -> 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 ColormapAlloc
impl PartialEq for ColormapAlloc
source§fn eq(&self, other: &ColormapAlloc) -> bool
fn eq(&self, other: &ColormapAlloc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ColormapAlloc
impl PartialOrd for ColormapAlloc
source§fn partial_cmp(&self, other: &ColormapAlloc) -> Option<Ordering>
fn partial_cmp(&self, other: &ColormapAlloc) -> 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 ColormapAlloc
impl Serialize for ColormapAlloc
impl Copy for ColormapAlloc
impl Eq for ColormapAlloc
impl StructuralPartialEq for ColormapAlloc
Auto Trait Implementations§
impl Freeze for ColormapAlloc
impl RefUnwindSafe for ColormapAlloc
impl Send for ColormapAlloc
impl Sync for ColormapAlloc
impl Unpin for ColormapAlloc
impl UnwindSafe for ColormapAlloc
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