Struct ash::vk::DrmFormatModifierProperties2EXTBuilder
source · [−]#[repr(transparent)]pub struct DrmFormatModifierProperties2EXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> DrmFormatModifierProperties2EXTBuilder<'a>
pub fn drm_format_modifier(self, drm_format_modifier: u64) -> Self
pub fn drm_format_modifier_plane_count(
self,
drm_format_modifier_plane_count: u32
) -> Self
pub fn drm_format_modifier_tiling_features(
self,
drm_format_modifier_tiling_features: FormatFeatureFlags2KHR
) -> Self
sourcepub fn build(self) -> DrmFormatModifierProperties2EXT
pub fn build(self) -> DrmFormatModifierProperties2EXT
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 DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> Deref for DrmFormatModifierProperties2EXTBuilder<'a>
type Target = DrmFormatModifierProperties2EXT
type Target = DrmFormatModifierProperties2EXT
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> Send for DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> Sync for DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> Unpin for DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> UnwindSafe for DrmFormatModifierProperties2EXTBuilder<'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