pub struct PixelFormat(/* private fields */);Implementations§
Source§impl PixelFormat
impl PixelFormat
pub const BAYER_BG_10: Self
pub const BAYER_BG_10P: Self
pub const BAYER_BG_10_PACKED: Self
pub const BAYER_BG_12: Self
pub const BAYER_BG_12P: Self
pub const BAYER_BG_12_PACKED: Self
pub const BAYER_BG_16: Self
pub const BAYER_BG_8: Self
pub const BAYER_GB_10: Self
pub const BAYER_GB_10P: Self
pub const BAYER_GB_10_PACKED: Self
pub const BAYER_GB_12: Self
pub const BAYER_GB_12P: Self
pub const BAYER_GB_12_PACKED: Self
pub const BAYER_GB_16: Self
pub const BAYER_GB_8: Self
pub const BAYER_GR_10: Self
pub const BAYER_GR_10P: Self
pub const BAYER_GR_10_PACKED: Self
pub const BAYER_GR_12: Self
pub const BAYER_GR_12P: Self
pub const BAYER_GR_12_PACKED: Self
pub const BAYER_GR_16: Self
pub const BAYER_GR_8: Self
pub const BAYER_RG_10: Self
pub const BAYER_RG_10P: Self
pub const BAYER_RG_10_PACKED: Self
pub const BAYER_RG_12: Self
pub const BAYER_RG_12P: Self
pub const BAYER_RG_12_PACKED: Self
pub const BAYER_RG_16: Self
pub const BAYER_RG_8: Self
pub const BGRA_8_PACKED: Self
pub const BGR_10_PACKED: Self
pub const BGR_12_PACKED: Self
pub const BGR_8_PACKED: Self
pub const CUSTOM_BAYER_BG_12_PACKED: Self
pub const CUSTOM_BAYER_BG_16: Self
pub const CUSTOM_BAYER_GB_12_PACKED: Self
pub const CUSTOM_BAYER_GB_16: Self
pub const CUSTOM_BAYER_GR_12_PACKED: Self
pub const CUSTOM_BAYER_GR_16: Self
pub const CUSTOM_BAYER_RG_12_PACKED: Self
pub const CUSTOM_BAYER_RG_16: Self
pub const CUSTOM_YUV_422_YUYV_PACKED: Self
pub const MONO_10: Self
pub const MONO_10_PACKED: Self
pub const MONO_12: Self
pub const MONO_12_PACKED: Self
pub const MONO_14: Self
pub const MONO_16: Self
pub const MONO_8: Self
pub const MONO_8_SIGNED: Self
pub const RGBA_8_PACKED: Self
pub const RGB_10_PACKED: Self
pub const RGB_10_PLANAR: Self
pub const RGB_12_PACKED: Self
pub const RGB_12_PLANAR: Self
pub const RGB_16_PLANAR: Self
pub const RGB_8_PACKED: Self
pub const RGB_8_PLANAR: Self
pub const YUV_411_PACKED: Self
pub const YUV_422_PACKED: Self
pub const YUV_422_YUYV_PACKED: Self
pub const YUV_444_PACKED: Self
pub const fn from_raw(raw: u32) -> Self
pub const fn raw(self) -> u32
Trait Implementations§
Source§impl Clone for PixelFormat
impl Clone for PixelFormat
Source§fn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PixelFormat
impl Debug for PixelFormat
Source§impl Hash for PixelFormat
impl Hash for PixelFormat
Source§impl IntoGlib for PixelFormat
impl IntoGlib for PixelFormat
Source§impl Ord for PixelFormat
impl Ord for PixelFormat
Source§fn cmp(&self, other: &PixelFormat) -> Ordering
fn cmp(&self, other: &PixelFormat) -> Ordering
1.21.0 · 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 PartialEq for PixelFormat
impl PartialEq for PixelFormat
Source§impl PartialOrd for PixelFormat
impl PartialOrd for PixelFormat
impl Copy for PixelFormat
impl Eq for PixelFormat
impl StructuralPartialEq for PixelFormat
Auto Trait Implementations§
impl Freeze for PixelFormat
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
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§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