Struct x11rb::protocol::xproto::ColormapEnum
source · pub struct ColormapEnum(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl ColormapEnum
impl ColormapEnum
pub const NONE: 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 From<u8> for ColormapEnum
impl From<u8> for ColormapEnum
source§fn from(value: u8) -> ColormapEnum
fn from(value: u8) -> ColormapEnum
Converts to this type from the input type.
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§impl PartialOrd for ColormapEnum
impl PartialOrd 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
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
)