#[repr(u8)]pub enum Quantum {
Eight = 8,
Sixteen = 16,
ThirtyTwo = 32,
}Expand description
The valid values for the quantum of an image.
Variants§
Trait Implementations§
Source§impl Ord for Quantum
impl Ord for Quantum
1.21.0 (const: unstable) · 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 PartialOrd for Quantum
impl PartialOrd for Quantum
impl Copy for Quantum
impl Eq for Quantum
impl StructuralPartialEq for Quantum
Auto Trait Implementations§
impl Freeze for Quantum
impl RefUnwindSafe for Quantum
impl Send for Quantum
impl Sync for Quantum
impl Unpin for Quantum
impl UnsafeUnpin for Quantum
impl UnwindSafe for Quantum
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