#[repr(transparent)]pub struct ImageSubresourceRange(pub VkImageSubresourceRange);Tuple Fields§
§0: VkImageSubresourceRangeImplementations§
Source§impl ImageSubresourceRange
impl ImageSubresourceRange
Sourcepub const fn new(
aspect_mask: AspectMask,
mip_range: Range<u32>,
array_layer_range: Range<u32>,
) -> Self
pub const fn new( aspect_mask: AspectMask, mip_range: Range<u32>, array_layer_range: Range<u32>, ) -> Self
Constructs a new ImageSubresourceRange data
Sourcepub const fn subresource(
&self,
mip_level_offset: u32,
array_layer_offset: u32,
) -> ImageSubresource
pub const fn subresource( &self, mip_level_offset: u32, array_layer_offset: u32, ) -> ImageSubresource
Retrieves single subresource slice in this range
Trait Implementations§
Source§impl Clone for ImageSubresourceRange
impl Clone for ImageSubresourceRange
Source§fn clone(&self) -> ImageSubresourceRange
fn clone(&self) -> ImageSubresourceRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImageSubresourceRange
impl RefUnwindSafe for ImageSubresourceRange
impl Send for ImageSubresourceRange
impl Sync for ImageSubresourceRange
impl Unpin for ImageSubresourceRange
impl UnsafeUnpin 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