pub struct SubresourceRange {
pub aspects: Aspects,
pub levels: Range<u8>,
pub layers: Range<u16>,
}
Expand description
A subset of resources contained within an image.
Fields§
§aspects: Aspects
Included aspects: color/depth/stencil
levels: Range<u8>
Included mipmap levels
layers: Range<u16>
Included array levels
Trait Implementations§
Source§impl Clone for SubresourceRange
impl Clone for SubresourceRange
Source§fn clone(&self) -> SubresourceRange
fn clone(&self) -> SubresourceRange
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 SubresourceRange
impl Debug for SubresourceRange
Source§impl Hash for SubresourceRange
impl Hash for SubresourceRange
Source§impl PartialEq for SubresourceRange
impl PartialEq for SubresourceRange
impl Eq for SubresourceRange
impl StructuralPartialEq for SubresourceRange
Auto Trait Implementations§
impl Freeze for SubresourceRange
impl RefUnwindSafe for SubresourceRange
impl Send for SubresourceRange
impl Sync for SubresourceRange
impl Unpin for SubresourceRange
impl UnwindSafe for SubresourceRange
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
)