pub struct PlaneLayout {
pub offset: usize,
pub length: usize,
pub row_stride: usize,
pub pixel_stride: usize,
}Expand description
Values for PlaneLayout.
Fields§
§offset: usizeByte offset from the beginning of the frame.
length: usizeLength in bytes.
row_stride: usizeDistance in bytes between adjacent rows.
pixel_stride: usizeDistance in bytes between adjacent pixels.
Trait Implementations§
Source§impl Clone for PlaneLayout
impl Clone for PlaneLayout
Source§fn clone(&self) -> PlaneLayout
fn clone(&self) -> PlaneLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlaneLayout
Source§impl Debug for PlaneLayout
impl Debug for PlaneLayout
impl Eq 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 UnsafeUnpin 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