#[repr(C)]pub struct ImageSubresourceLayers {
pub aspectMask: ImageAspectFlags,
pub mipLevel: u32,
pub baseArrayLayer: u32,
pub layerCount: u32,
}Fields§
§aspectMask: ImageAspectFlags§mipLevel: u32§baseArrayLayer: u32§layerCount: u32Implementations§
Source§impl ImageSubresourceLayers
impl ImageSubresourceLayers
pub fn new() -> Self
pub fn aspectMask(self, aspectMask: ImageAspectFlags) -> Self
pub fn mipLevel(self, mipLevel: u32) -> Self
pub fn baseArrayLayer(self, baseArrayLayer: u32) -> Self
pub fn layerCount(self, layerCount: u32) -> Self
Trait Implementations§
Source§impl Clone for ImageSubresourceLayers
impl Clone for ImageSubresourceLayers
Source§fn clone(&self) -> ImageSubresourceLayers
fn clone(&self) -> ImageSubresourceLayers
Returns a duplicate 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 ImageSubresourceLayers
impl Debug for ImageSubresourceLayers
Source§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 UnsafeUnpin 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