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