Struct rutabaga_gfx::rutabaga_gralloc::formats::PlanarLayout
source · pub struct PlanarLayout {
pub num_planes: usize,
horizontal_subsampling: [u32; 3],
vertical_subsampling: [u32; 3],
bytes_per_pixel: [u32; 3],
}
Expand description
Planar properties associated with each DrmFormat
. Copied from helpers.c in minigbm.
Fields§
§num_planes: usize
§horizontal_subsampling: [u32; 3]
§vertical_subsampling: [u32; 3]
§bytes_per_pixel: [u32; 3]
Trait Implementations§
source§impl Clone for PlanarLayout
impl Clone for PlanarLayout
source§fn clone(&self) -> PlanarLayout
fn clone(&self) -> PlanarLayout
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 moreimpl Copy for PlanarLayout
Auto Trait Implementations§
impl RefUnwindSafe for PlanarLayout
impl Send for PlanarLayout
impl Sync for PlanarLayout
impl Unpin for PlanarLayout
impl UnwindSafe for PlanarLayout
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