Struct gfx_hal::image::SubresourceFootprint
source · pub struct SubresourceFootprint {
pub slice: Range<RawOffset>,
pub row_pitch: RawOffset,
pub array_pitch: RawOffset,
pub depth_pitch: RawOffset,
}
Expand description
Footprint of a subresource in memory.
Fields
slice: Range<RawOffset>
Byte slice occupied by the subresource.
row_pitch: RawOffset
Byte distance between rows.
array_pitch: RawOffset
Byte distance between array layers.
depth_pitch: RawOffset
Byte distance between depth slices.
Trait Implementations
sourceimpl Clone for SubresourceFootprint
impl Clone for SubresourceFootprint
sourcefn clone(&self) -> SubresourceFootprint
fn clone(&self) -> SubresourceFootprint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SubresourceFootprint
impl Debug for SubresourceFootprint
sourceimpl Hash for SubresourceFootprint
impl Hash for SubresourceFootprint
sourceimpl PartialEq<SubresourceFootprint> for SubresourceFootprint
impl PartialEq<SubresourceFootprint> for SubresourceFootprint
sourcefn eq(&self, other: &SubresourceFootprint) -> bool
fn eq(&self, other: &SubresourceFootprint) -> bool
impl Eq for SubresourceFootprint
impl StructuralEq for SubresourceFootprint
impl StructuralPartialEq for SubresourceFootprint
Auto Trait Implementations
impl RefUnwindSafe for SubresourceFootprint
impl Send for SubresourceFootprint
impl Sync for SubresourceFootprint
impl Unpin for SubresourceFootprint
impl UnwindSafe for SubresourceFootprint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more