pub struct SubresourceLayers {
pub aspects: Aspects,
pub level: Level,
pub layers: Range<Layer>,
}
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§
Source§impl Clone for SubresourceLayers
impl Clone for SubresourceLayers
Source§fn clone(&self) -> SubresourceLayers
fn clone(&self) -> SubresourceLayers
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 SubresourceLayers
impl Debug for SubresourceLayers
Source§impl From<SubresourceLayers> for SubresourceRange
impl From<SubresourceLayers> for SubresourceRange
Source§fn from(sub: SubresourceLayers) -> Self
fn from(sub: SubresourceLayers) -> Self
Converts to this type from the input type.
Source§impl Hash for SubresourceLayers
impl Hash for SubresourceLayers
Source§impl PartialEq for SubresourceLayers
impl PartialEq for SubresourceLayers
impl Eq for SubresourceLayers
impl StructuralPartialEq for SubresourceLayers
Auto Trait Implementations§
impl Freeze for SubresourceLayers
impl RefUnwindSafe for SubresourceLayers
impl Send for SubresourceLayers
impl Sync for SubresourceLayers
impl Unpin for SubresourceLayers
impl UnwindSafe for SubresourceLayers
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