#[repr(u32)]pub enum BitsPerPixel {
One = 0,
Two = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for BitsPerPixel
impl Clone for BitsPerPixel
Source§fn clone(&self) -> BitsPerPixel
fn clone(&self) -> BitsPerPixel
Returns a duplicate 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 Ord for BitsPerPixel
impl Ord for BitsPerPixel
Source§fn cmp(&self, other: &BitsPerPixel) -> Ordering
fn cmp(&self, other: &BitsPerPixel) -> 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 BitsPerPixel
impl PartialEq for BitsPerPixel
Source§impl PartialOrd for BitsPerPixel
impl PartialOrd for BitsPerPixel
impl Copy for BitsPerPixel
impl Eq for BitsPerPixel
impl StructuralPartialEq for BitsPerPixel
Auto Trait Implementations§
impl Freeze for BitsPerPixel
impl RefUnwindSafe for BitsPerPixel
impl Send for BitsPerPixel
impl Sync for BitsPerPixel
impl Unpin for BitsPerPixel
impl UnwindSafe for BitsPerPixel
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