Struct gfx_hal::image::SubresourceRange
source · pub struct SubresourceRange {
pub aspects: Aspects,
pub levels: Range<Level>,
pub layers: Range<Layer>,
}
Expand description
A subset of resources contained within an image.
Fields
aspects: Aspects
Included aspects: color/depth/stencil
levels: Range<Level>
Included mipmap levels
layers: Range<Layer>
Included array levels
Trait Implementations
sourceimpl Clone for SubresourceRange
impl Clone for SubresourceRange
sourcefn clone(&self) -> SubresourceRange
fn clone(&self) -> SubresourceRange
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 SubresourceRange
impl Debug for SubresourceRange
sourceimpl Hash for SubresourceRange
impl Hash for SubresourceRange
sourceimpl PartialEq<SubresourceRange> for SubresourceRange
impl PartialEq<SubresourceRange> for SubresourceRange
sourcefn eq(&self, other: &SubresourceRange) -> bool
fn eq(&self, other: &SubresourceRange) -> bool
impl Eq for SubresourceRange
impl StructuralEq for SubresourceRange
impl StructuralPartialEq for SubresourceRange
Auto Trait Implementations
impl RefUnwindSafe for SubresourceRange
impl Send for SubresourceRange
impl Sync for SubresourceRange
impl Unpin for SubresourceRange
impl UnwindSafe for SubresourceRange
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