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