pub struct DrmFormatModifierProperties2EXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'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: FormatFeatureFlags2, ) -> 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§
Source§impl<'a> Deref for DrmFormatModifierProperties2EXTBuilder<'a>
impl<'a> Deref for DrmFormatModifierProperties2EXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DrmFormatModifierProperties2EXTBuilder<'a>
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§
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