#[repr(transparent)]pub struct ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
pub fn drm_format_modifier(self, drm_format_modifier: u64) -> Self
pub fn plane_layouts(self, plane_layouts: &'a [SubresourceLayout]) -> Self
sourcepub fn build(self) -> ImageDrmFormatModifierExplicitCreateInfoEXT
pub fn build(self) -> ImageDrmFormatModifierExplicitCreateInfoEXT
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 ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> Deref for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
type Target = ImageDrmFormatModifierExplicitCreateInfoEXT
type Target = ImageDrmFormatModifierExplicitCreateInfoEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl ExtendsImageCreateInfo for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> !Send for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> !Sync for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> Unpin for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'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