#[repr(C)]pub struct ImageSubresource {
pub aspect_mask: ImageAspectFlags,
pub mip_level: u32,
pub array_layer: u32,
}Expand description
Fields§
§aspect_mask: ImageAspectFlags§mip_level: u32§array_layer: u32Trait Implementations§
Source§impl Clone for ImageSubresource
impl Clone for ImageSubresource
Source§fn clone(&self) -> ImageSubresource
fn clone(&self) -> ImageSubresource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageSubresource
Source§impl Debug for ImageSubresource
impl Debug for ImageSubresource
Source§impl Default for ImageSubresource
impl Default for ImageSubresource
Source§fn default() -> ImageSubresource
fn default() -> ImageSubresource
Returns the “default value” for a type. Read more
impl Eq for ImageSubresource
Source§impl Hash for ImageSubresource
impl Hash for ImageSubresource
Source§impl PartialEq for ImageSubresource
impl PartialEq for ImageSubresource
Source§fn eq(&self, other: &ImageSubresource) -> bool
fn eq(&self, other: &ImageSubresource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageSubresource
Auto Trait Implementations§
impl Freeze for ImageSubresource
impl RefUnwindSafe for ImageSubresource
impl Send for ImageSubresource
impl Sync for ImageSubresource
impl Unpin for ImageSubresource
impl UnsafeUnpin for ImageSubresource
impl UnwindSafe for ImageSubresource
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