pub struct FormatPropertiesBuilder { /* private fields */ }Expand description
Builder for FormatProperties.
Implementations§
Source§impl FormatPropertiesBuilder
impl FormatPropertiesBuilder
pub fn linear_tiling_features(self, value: FormatFeatureFlags) -> Self
pub fn optimal_tiling_features(self, value: FormatFeatureFlags) -> Self
pub fn buffer_features(self, value: FormatFeatureFlags) -> Self
Trait Implementations§
Source§impl Deref for FormatPropertiesBuilder
impl Deref for FormatPropertiesBuilder
Auto Trait Implementations§
impl Freeze for FormatPropertiesBuilder
impl RefUnwindSafe for FormatPropertiesBuilder
impl Send for FormatPropertiesBuilder
impl Sync for FormatPropertiesBuilder
impl Unpin for FormatPropertiesBuilder
impl UnsafeUnpin for FormatPropertiesBuilder
impl UnwindSafe for FormatPropertiesBuilder
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