Struct v4l2r::PlaneLayout 
source · pub struct PlaneLayout {
    pub sizeimage: u32,
    pub bytesperline: u32,
}Expand description
Description of a single plane in a format.
Fields§
§sizeimage: u32Useful size of the plane ; the backing memory must be at least that large.
bytesperline: u32Bytes per line of data. Only meaningful for image formats.
Trait Implementations§
source§impl Clone for PlaneLayout
 
impl Clone for PlaneLayout
source§fn clone(&self) -> PlaneLayout
 
fn clone(&self) -> PlaneLayout
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 PlaneLayout
 
impl Debug for PlaneLayout
source§impl Default for PlaneLayout
 
impl Default for PlaneLayout
source§fn default() -> PlaneLayout
 
fn default() -> PlaneLayout
Returns the “default value” for a type. Read more
source§impl PartialEq for PlaneLayout
 
impl PartialEq for PlaneLayout
source§fn eq(&self, other: &PlaneLayout) -> bool
 
fn eq(&self, other: &PlaneLayout) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PlaneLayout
Auto Trait Implementations§
impl Freeze for PlaneLayout
impl RefUnwindSafe for PlaneLayout
impl Send for PlaneLayout
impl Sync for PlaneLayout
impl Unpin for PlaneLayout
impl UnwindSafe for PlaneLayout
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