pub struct ImageSubresourceRangeBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImageSubresourceRangeBuilder<'a>
impl<'a> ImageSubresourceRangeBuilder<'a>
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn base_mip_level(self, base_mip_level: u32) -> Self
pub fn level_count(self, level_count: u32) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
Sourcepub fn build(self) -> ImageSubresourceRange
pub fn build(self) -> ImageSubresourceRange
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for ImageSubresourceRangeBuilder<'a>
impl<'a> Deref for ImageSubresourceRangeBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImageSubresourceRangeBuilder<'a>
impl<'a> RefUnwindSafe for ImageSubresourceRangeBuilder<'a>
impl<'a> Send for ImageSubresourceRangeBuilder<'a>
impl<'a> Sync for ImageSubresourceRangeBuilder<'a>
impl<'a> Unpin for ImageSubresourceRangeBuilder<'a>
impl<'a> UnwindSafe for ImageSubresourceRangeBuilder<'a>
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