#[repr(C)]pub struct ImageSubresourceRange {
pub aspectMask: ImageAspectFlags,
pub baseMipLevel: u32,
pub levelCount: u32,
pub baseArrayLayer: u32,
pub layerCount: u32,
}
Fields§
§aspectMask: ImageAspectFlags
§baseMipLevel: u32
§levelCount: u32
§baseArrayLayer: u32
§layerCount: u32
Implementations§
Source§impl ImageSubresourceRange
impl ImageSubresourceRange
pub fn new() -> Self
pub fn aspectMask(self, aspectMask: ImageAspectFlags) -> Self
pub fn baseMipLevel(self, baseMipLevel: u32) -> Self
pub fn levelCount(self, levelCount: u32) -> Self
pub fn baseArrayLayer(self, baseArrayLayer: u32) -> Self
pub fn layerCount(self, layerCount: u32) -> Self
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
)