Enum cameraunit::PixelBpp
source · pub enum PixelBpp {
Bpp8 = 8,
Bpp10 = 10,
Bpp12 = 12,
Bpp16 = 16,
Bpp24 = 24,
Bpp32 = 32,
}
Variants§
Bpp8 = 8
8 bits per pixel. This is the default.
Bpp10 = 10
10 bits per pixel.
Bpp12 = 12
12 bits per pixel.
Bpp16 = 16
14 bits per pixel.
Bpp24 = 24
16 bits per pixel.
Bpp32 = 32
32 bits per pixel.
Trait Implementations§
source§impl PartialEq for PixelBpp
impl PartialEq for PixelBpp
impl Copy for PixelBpp
impl StructuralPartialEq for PixelBpp
Auto Trait Implementations§
impl Freeze for PixelBpp
impl RefUnwindSafe for PixelBpp
impl Send for PixelBpp
impl Sync for PixelBpp
impl Unpin for PixelBpp
impl UnwindSafe for PixelBpp
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more