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