Struct screen_13::driver::ImageInfoBuilder
source · [−]pub struct ImageInfoBuilder { /* private fields */ }Expand description
Builder for ImageInfo.
Implementations
sourceimpl ImageInfoBuilder
impl ImageInfoBuilder
pub fn array_elements(self, value: u32) -> Self
pub fn depth(self, value: u32) -> Self
pub fn flags(self, value: ImageCreateFlags) -> Self
pub fn fmt(self, value: Format) -> Self
pub fn height(self, value: u32) -> Self
pub fn linear_tiling(self, value: bool) -> Self
pub fn mip_level_count(self, value: u32) -> Self
pub fn sample_count(self, value: SampleCount) -> Self
pub fn ty(self, value: ImageType) -> Self
pub fn usage(self, value: ImageUsageFlags) -> Self
pub fn width(self, value: u32) -> Self
Trait Implementations
sourceimpl Debug for ImageInfoBuilder
impl Debug for ImageInfoBuilder
sourceimpl Default for ImageInfoBuilder
impl Default for ImageInfoBuilder
sourceimpl From<ImageInfoBuilder> for ImageInfo
impl From<ImageInfoBuilder> for ImageInfo
sourcefn from(info: ImageInfoBuilder) -> Self
fn from(info: ImageInfoBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ImageInfoBuilder
impl Send for ImageInfoBuilder
impl Sync for ImageInfoBuilder
impl Unpin for ImageInfoBuilder
impl UnwindSafe for ImageInfoBuilder
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