Struct cros_codecs::PlaneLayout
source · pub struct PlaneLayout {
pub buffer_index: usize,
pub offset: usize,
pub stride: usize,
}
Expand description
Describes the layout of a plane within a surface.
Fields§
§buffer_index: usize
Index of the memory buffer the plane belongs to.
offset: usize
Start offset of the plane within its buffer.
stride: usize
Distance in bytes between two lines of data in this plane.
Trait Implementations§
Auto Trait Implementations§
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