#[repr(u8)]pub enum Channels {
Rgb = 3,
Rgba = 4,
}
Expand description
Number of 8-bit channels in a pixel.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Channels
impl Ord for Channels
source§impl PartialOrd for Channels
impl PartialOrd for Channels
impl Copy for Channels
impl Eq for Channels
impl StructuralPartialEq for Channels
Auto Trait Implementations§
impl Freeze for Channels
impl RefUnwindSafe for Channels
impl Send for Channels
impl Sync for Channels
impl Unpin for Channels
impl UnwindSafe for Channels
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)