#[non_exhaustive]pub enum BitType {
U8,
U16,
F32,
}
Expand description
The underlying bit representation of the image
This represents the minimum rust type that
can be used to represent image data, required
by Channel
struct in zune-image
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
U8
Images represented using a u8
as their
underlying pixel storage
U16
Images represented using a u16
as their
underlying pixel storage.
F32
Images represented using a f32
as their
underlying pixel storage
Implementations§
Trait Implementations§
impl Copy for BitType
impl Eq for BitType
impl StructuralPartialEq for BitType
Auto Trait Implementations§
impl Freeze for BitType
impl RefUnwindSafe for BitType
impl Send for BitType
impl Sync for BitType
impl Unpin for BitType
impl UnwindSafe for BitType
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