Struct gfx_hal::image::SubresourceLayers
source · [−]Expand description
A subset of resource layers contained within an image’s level.
Fields
aspects: Aspects
Included aspects: color/depth/stencil
level: Level
Selected mipmap level
layers: Range<Layer>
Included array levels
Trait Implementations
sourceimpl Clone for SubresourceLayers
impl Clone for SubresourceLayers
sourcefn clone(&self) -> SubresourceLayers
fn clone(&self) -> SubresourceLayers
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 more
sourceimpl Debug for SubresourceLayers
impl Debug for SubresourceLayers
sourceimpl From<SubresourceLayers> for SubresourceRange
impl From<SubresourceLayers> for SubresourceRange
sourcefn from(sub: SubresourceLayers) -> Self
fn from(sub: SubresourceLayers) -> Self
Performs the conversion.
sourceimpl Hash for SubresourceLayers
impl Hash for SubresourceLayers
sourceimpl PartialEq<SubresourceLayers> for SubresourceLayers
impl PartialEq<SubresourceLayers> for SubresourceLayers
sourcefn eq(&self, other: &SubresourceLayers) -> bool
fn eq(&self, other: &SubresourceLayers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SubresourceLayers) -> bool
fn ne(&self, other: &SubresourceLayers) -> bool
This method tests for !=
.
impl Eq for SubresourceLayers
impl StructuralEq for SubresourceLayers
impl StructuralPartialEq for SubresourceLayers
Auto Trait Implementations
impl RefUnwindSafe for SubresourceLayers
impl Send for SubresourceLayers
impl Sync for SubresourceLayers
impl Unpin for SubresourceLayers
impl UnwindSafe for SubresourceLayers
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more