#[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: u32Implementations§
Source§impl ImageSubresource
impl ImageSubresource
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn mip_level(self, mip_level: u32) -> Self
pub fn array_layer(self, array_layer: u32) -> Self
Trait Implementations§
Source§impl Clone for ImageSubresource
impl Clone for ImageSubresource
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 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