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