pub struct ImageSubresourceLayersBuilder { /* private fields */ }Expand description
A builder for a ImageSubresourceLayers.
Implementations§
Source§impl ImageSubresourceLayersBuilder
impl ImageSubresourceLayersBuilder
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn mip_level(self, mip_level: u32) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
pub fn build(self) -> ImageSubresourceLayers
Trait Implementations§
Source§impl Cast for ImageSubresourceLayersBuilder
impl Cast for ImageSubresourceLayersBuilder
Source§type Target = ImageSubresourceLayers
type Target = ImageSubresourceLayers
The other type this type can be used interchangeably with in FFI.
impl Copy for ImageSubresourceLayersBuilder
Auto Trait Implementations§
impl Forget for ImageSubresourceLayersBuilder
impl Freeze for ImageSubresourceLayersBuilder
impl RefUnwindSafe for ImageSubresourceLayersBuilder
impl Send for ImageSubresourceLayersBuilder
impl Sync for ImageSubresourceLayersBuilder
impl Unpin for ImageSubresourceLayersBuilder
impl UnsafeUnpin for ImageSubresourceLayersBuilder
impl UnwindSafe for ImageSubresourceLayersBuilder
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