pub struct PlaneLayout {
pub slice: Range<u64>,
pub row_pitch: u64,
pub array_pitch: u64,
pub depth_pitch: u64,
}
Expand description
Footprint of a plane layout in memory.
Fields§
§slice: Range<u64>
Byte slice occupied by the subresource.
row_pitch: u64
Byte distance between rows.
array_pitch: u64
Byte distance between array layers.
depth_pitch: u64
Byte distance between depth slices.
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 Hash for PlaneLayout
impl Hash for PlaneLayout
Source§impl PartialEq for PlaneLayout
impl PartialEq for PlaneLayout
impl Eq 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