pub struct SubresourceFootprint {
pub slice: Range<u64>,
pub row_pitch: u64,
pub array_pitch: u64,
pub depth_pitch: u64,
}
Expand description
Footprint of a subresource 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 SubresourceFootprint
impl Clone for SubresourceFootprint
Source§fn clone(&self) -> SubresourceFootprint
fn clone(&self) -> SubresourceFootprint
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 SubresourceFootprint
impl Debug for SubresourceFootprint
Source§impl Hash for SubresourceFootprint
impl Hash for SubresourceFootprint
Source§impl PartialEq for SubresourceFootprint
impl PartialEq for SubresourceFootprint
impl Eq for SubresourceFootprint
impl StructuralPartialEq for SubresourceFootprint
Auto Trait Implementations§
impl Freeze for SubresourceFootprint
impl RefUnwindSafe for SubresourceFootprint
impl Send for SubresourceFootprint
impl Sync for SubresourceFootprint
impl Unpin for SubresourceFootprint
impl UnwindSafe for SubresourceFootprint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)