#[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: u32
Implementations§
Source§impl ImageSubresource
impl ImageSubresource
pub fn builder<'a>() -> ImageSubresourceBuilder<'a>
Trait Implementations§
Source§impl Clone for ImageSubresource
impl Clone for ImageSubresource
Source§fn clone(&self) -> ImageSubresource
fn clone(&self) -> ImageSubresource
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 ImageSubresource
impl Default for ImageSubresource
Source§fn default() -> ImageSubresource
fn default() -> ImageSubresource
Returns the “default value” for a type. Read more
impl Copy 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 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
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
)