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