pub struct ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'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§
source§impl<'a> Deref for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> Deref for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
source§impl<'a> DerefMut for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
impl ExtendsImageCreateInfo for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
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§
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