Struct vulkanalia::vk::FormatPropertiesBuilder
source · #[repr(transparent)]pub struct FormatPropertiesBuilder { /* private fields */ }
Expand description
A builder for a FormatProperties
.
Implementations§
source§impl FormatPropertiesBuilder
impl FormatPropertiesBuilder
pub fn linear_tiling_features( self, linear_tiling_features: FormatFeatureFlags ) -> Self
pub fn optimal_tiling_features( self, optimal_tiling_features: FormatFeatureFlags ) -> Self
pub fn buffer_features(self, buffer_features: FormatFeatureFlags) -> Self
pub fn build(self) -> FormatProperties
Trait Implementations§
source§impl Cast for FormatPropertiesBuilder
impl Cast for FormatPropertiesBuilder
§type Target = FormatProperties
type Target = FormatProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for FormatPropertiesBuilder
impl Clone for FormatPropertiesBuilder
source§fn clone(&self) -> FormatPropertiesBuilder
fn clone(&self) -> FormatPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormatPropertiesBuilder
impl Debug for FormatPropertiesBuilder
source§impl Default for FormatPropertiesBuilder
impl Default for FormatPropertiesBuilder
source§fn default() -> FormatPropertiesBuilder
fn default() -> FormatPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl Deref for FormatPropertiesBuilder
impl Deref for FormatPropertiesBuilder
source§impl DerefMut for FormatPropertiesBuilder
impl DerefMut for FormatPropertiesBuilder
impl Copy for FormatPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FormatPropertiesBuilder
impl Send for FormatPropertiesBuilder
impl Sync for FormatPropertiesBuilder
impl Unpin 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