Struct ash::vk::ImageSubresourceRange
source · [−]#[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
sourceimpl ImageSubresourceRange
impl ImageSubresourceRange
pub fn builder<'a>() -> ImageSubresourceRangeBuilder<'a>
Trait Implementations
sourceimpl Clone for ImageSubresourceRange
impl Clone for ImageSubresourceRange
sourcefn clone(&self) -> ImageSubresourceRange
fn clone(&self) -> ImageSubresourceRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImageSubresourceRange
impl Debug for ImageSubresourceRange
sourceimpl Default for ImageSubresourceRange
impl Default for ImageSubresourceRange
sourcefn default() -> ImageSubresourceRange
fn default() -> ImageSubresourceRange
Returns the “default value” for a type. Read more
impl Copy for ImageSubresourceRange
Auto Trait Implementations
impl RefUnwindSafe for ImageSubresourceRange
impl Send for ImageSubresourceRange
impl Sync for ImageSubresourceRange
impl Unpin for ImageSubresourceRange
impl UnwindSafe for ImageSubresourceRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more