pub struct V4l2PixFormat {
pub width: u32,
pub height: u32,
pub pixelformat: u32,
pub bytesperline: u32,
pub sizeimage: u32,
}Expand description
V4L2 pixel format descriptor
Fields§
§width: u32Image width in pixels
height: u32Image height in pixels
pixelformat: u32FourCC pixel format code
bytesperline: u32Bytes per line
sizeimage: u32Total image size in bytes
Trait Implementations§
Source§impl Clone for V4l2PixFormat
impl Clone for V4l2PixFormat
Source§fn clone(&self) -> V4l2PixFormat
fn clone(&self) -> V4l2PixFormat
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for V4l2PixFormat
impl Debug for V4l2PixFormat
Source§impl Default for V4l2PixFormat
impl Default for V4l2PixFormat
impl Copy for V4l2PixFormat
Auto Trait Implementations§
impl Freeze for V4l2PixFormat
impl RefUnwindSafe for V4l2PixFormat
impl Send for V4l2PixFormat
impl Sync for V4l2PixFormat
impl Unpin for V4l2PixFormat
impl UnwindSafe for V4l2PixFormat
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)