#[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 PartialEq for Channels
impl PartialEq for Channels
source§impl PartialOrd for Channels
impl PartialOrd for Channels
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 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