pub struct Subresource {
pub aspects: Aspects,
pub level: Level,
pub layer: Layer,
}
Expand description
Selector of a concrete subresource in an image.
Fields§
§aspects: Aspects
Included aspects: color/depth/stencil
level: Level
Selected mipmap level
layer: Layer
Selected array level
Trait Implementations§
Source§impl Clone for Subresource
impl Clone for Subresource
Source§fn clone(&self) -> Subresource
fn clone(&self) -> Subresource
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 Subresource
impl Debug for Subresource
Source§impl Hash for Subresource
impl Hash for Subresource
Source§impl PartialEq for Subresource
impl PartialEq for Subresource
impl Copy for Subresource
impl Eq for Subresource
impl StructuralPartialEq for Subresource
Auto Trait Implementations§
impl Freeze for Subresource
impl RefUnwindSafe for Subresource
impl Send for Subresource
impl Sync for Subresource
impl Unpin for Subresource
impl UnwindSafe for Subresource
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