pub struct SubresourceLayers {
pub aspects: Aspects,
pub level: u8,
pub layers: Range<u16>,
}
Expand description
A subset of resource layers contained within an image’s level.
Fields§
§aspects: Aspects
Included aspects: color/depth/stencil
level: u8
Selected mipmap level
layers: Range<u16>
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 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
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
)