#[repr(C)]pub enum Depth {
Depth8 = 8,
Depth10 = 10,
Depth12 = 12,
Depth16 = 16,
}
Expand description
Bit depth (8 = 1 byte, >=10 = 2 bytes)
Variants§
Trait Implementations§
source§impl Ord for Depth
impl Ord for Depth
source§impl PartialEq for Depth
impl PartialEq for Depth
source§impl PartialOrd for Depth
impl PartialOrd for Depth
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 Depth
impl Eq for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnwindSafe for Depth
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