#[repr(C)]pub struct VSLFormat {
pub fourcc: u32,
pub description: [c_char; 32],
pub flags: u32,
pub compressed: bool,
pub resolutions: *mut VSLResolution,
pub num_resolutions: usize,
}Expand description
Pixel format descriptor
Fields§
§fourcc: u32< V4L2 pixel format fourcc code
description: [c_char; 32]< Human-readable description
flags: u32< V4L2_FMT_FLAG_* flags
compressed: bool< True if this is a compressed format
resolutions: *mut VSLResolutionSupported resolutions (populated by vsl_v4l2_enum_resolutions)
num_resolutions: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for VSLFormat
impl RefUnwindSafe for VSLFormat
impl !Send for VSLFormat
impl !Sync for VSLFormat
impl Unpin for VSLFormat
impl UnwindSafe for VSLFormat
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