pub struct PlaneLayout {
pub buffer_index: usize,
pub offset: usize,
pub stride: usize,
}
Expand description
Describes the layout of a plane within a frame.
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§
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 PartialEq for PlaneLayout
impl PartialEq for PlaneLayout
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