Struct aravis::PixelFormat
source · #[repr(transparent)]pub struct PixelFormat(_);
Implementations§
source§impl PixelFormat
impl PixelFormat
pub const fn from_raw(raw: u32) -> Self
pub const fn raw(self) -> u32
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 = _
Trait Implementations§
source§impl Clone for PixelFormat
impl Clone for PixelFormat
source§fn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
Returns a copy 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 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<PixelFormat> for PixelFormat
impl PartialEq<PixelFormat> for PixelFormat
source§fn eq(&self, other: &PixelFormat) -> bool
fn eq(&self, other: &PixelFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PixelFormat> for PixelFormat
impl PartialOrd<PixelFormat> for PixelFormat
source§fn partial_cmp(&self, other: &PixelFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &PixelFormat) -> Option<Ordering>
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 PixelFormat
impl Eq for PixelFormat
impl StructuralEq for PixelFormat
impl StructuralPartialEq for PixelFormat
Auto Trait Implementations§
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