Struct ash::vk::FormatPropertiesBuilder
source · [−]#[repr(transparent)]pub struct FormatPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> FormatPropertiesBuilder<'a>
impl<'a> FormatPropertiesBuilder<'a>
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
sourcepub fn build(self) -> FormatProperties
pub fn build(self) -> FormatProperties
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for FormatPropertiesBuilder<'a>
impl<'a> Deref for FormatPropertiesBuilder<'a>
type Target = FormatProperties
type Target = FormatProperties
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for FormatPropertiesBuilder<'a>
impl<'a> Send for FormatPropertiesBuilder<'a>
impl<'a> Sync for FormatPropertiesBuilder<'a>
impl<'a> Unpin for FormatPropertiesBuilder<'a>
impl<'a> UnwindSafe for FormatPropertiesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more