Struct screen_13::driver::ImageViewInfoBuilder
source · [−]pub struct ImageViewInfoBuilder { /* private fields */ }Expand description
Builder for ImageViewInfo.
Implementations
sourceimpl ImageViewInfoBuilder
impl ImageViewInfoBuilder
pub fn array_layer_count(self, value: Option<u32>) -> Self
pub fn aspect_mask(self, value: ImageAspectFlags) -> Self
pub fn base_array_layer(self, value: u32) -> Self
pub fn base_mip_level(self, value: u32) -> Self
pub fn fmt(self, value: Format) -> Self
pub fn mip_level_count(self, value: Option<u32>) -> Self
pub fn ty(self, value: ImageType) -> Self
Trait Implementations
sourceimpl Default for ImageViewInfoBuilder
impl Default for ImageViewInfoBuilder
sourceimpl From<ImageViewInfoBuilder> for ImageViewInfo
impl From<ImageViewInfoBuilder> for ImageViewInfo
sourcefn from(info: ImageViewInfoBuilder) -> Self
fn from(info: ImageViewInfoBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ImageViewInfoBuilder
impl Send for ImageViewInfoBuilder
impl Sync for ImageViewInfoBuilder
impl Unpin for ImageViewInfoBuilder
impl UnwindSafe for ImageViewInfoBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more