#[repr(C)]pub struct ImageSubresourceLayers {
pub aspect_mask: ImageAspectFlags,
pub mip_level: u32,
pub base_array_layer: u32,
pub layer_count: u32,
}
Expand description
Fields§
§aspect_mask: ImageAspectFlags
§mip_level: u32
§base_array_layer: u32
§layer_count: u32
Implementations§
Source§impl ImageSubresourceLayers
impl ImageSubresourceLayers
pub fn builder<'a>() -> ImageSubresourceLayersBuilder<'a>
Trait Implementations§
Source§impl Clone for ImageSubresourceLayers
impl Clone for ImageSubresourceLayers
Source§fn clone(&self) -> ImageSubresourceLayers
fn clone(&self) -> ImageSubresourceLayers
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 Default for ImageSubresourceLayers
impl Default for ImageSubresourceLayers
Source§fn default() -> ImageSubresourceLayers
fn default() -> ImageSubresourceLayers
Returns the “default value” for a type. Read more
impl Copy for ImageSubresourceLayers
Auto Trait Implementations§
impl Freeze for ImageSubresourceLayers
impl RefUnwindSafe for ImageSubresourceLayers
impl Send for ImageSubresourceLayers
impl Sync for ImageSubresourceLayers
impl Unpin for ImageSubresourceLayers
impl UnwindSafe for ImageSubresourceLayers
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
)