pub struct PixelFormatInfo {
pub name: String,
pub format: PixelFormat,
pub bits_per_pixel: u32,
pub colour_encoding: ColourEncoding,
pub packed: bool,
pub pixels_per_group: u32,
pub planes: Vec<PixelFormatPlaneInfo>,
pub v4l2_formats: Vec<u32>,
}Fields§
§name: String§format: PixelFormat§bits_per_pixel: u32§colour_encoding: ColourEncoding§packed: bool§pixels_per_group: u32§planes: Vec<PixelFormatPlaneInfo>§v4l2_formats: Vec<u32>Trait Implementations§
Source§impl Clone for PixelFormatInfo
impl Clone for PixelFormatInfo
Source§fn clone(&self) -> PixelFormatInfo
fn clone(&self) -> PixelFormatInfo
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 moreAuto Trait Implementations§
impl Freeze for PixelFormatInfo
impl RefUnwindSafe for PixelFormatInfo
impl Send for PixelFormatInfo
impl Sync for PixelFormatInfo
impl Unpin for PixelFormatInfo
impl UnwindSafe for PixelFormatInfo
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