Struct x11rb::protocol::xproto::PixmapEnum
source · pub struct PixmapEnum(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl PixmapEnum
impl PixmapEnum
pub const NONE: PixmapEnum = _
Trait Implementations§
source§impl Clone for PixmapEnum
impl Clone for PixmapEnum
source§fn clone(&self) -> PixmapEnum
fn clone(&self) -> PixmapEnum
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 PixmapEnum
impl Debug for PixmapEnum
source§impl Default for PixmapEnum
impl Default for PixmapEnum
source§fn default() -> PixmapEnum
fn default() -> PixmapEnum
Returns the “default value” for a type. Read more
source§impl From<u8> for PixmapEnum
impl From<u8> for PixmapEnum
source§fn from(value: u8) -> PixmapEnum
fn from(value: u8) -> PixmapEnum
Converts to this type from the input type.
source§impl Hash for PixmapEnum
impl Hash for PixmapEnum
source§impl Ord for PixmapEnum
impl Ord for PixmapEnum
source§fn cmp(&self, other: &PixmapEnum) -> Ordering
fn cmp(&self, other: &PixmapEnum) -> 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 PixmapEnum
impl PartialEq for PixmapEnum
source§fn eq(&self, other: &PixmapEnum) -> bool
fn eq(&self, other: &PixmapEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PixmapEnum
impl PartialOrd for PixmapEnum
source§fn partial_cmp(&self, other: &PixmapEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &PixmapEnum) -> 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 moreimpl Copy for PixmapEnum
impl Eq for PixmapEnum
impl StructuralPartialEq for PixmapEnum
Auto Trait Implementations§
impl Freeze for PixmapEnum
impl RefUnwindSafe for PixmapEnum
impl Send for PixmapEnum
impl Sync for PixmapEnum
impl Unpin for PixmapEnum
impl UnwindSafe for PixmapEnum
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