pub struct ExportMetalIOSurfaceInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> ExportMetalIOSurfaceInfoEXTBuilder<'a>
pub fn image(self, image: Image) -> Self
pub fn io_surface(self, io_surface: IOSurfaceRef) -> Self
Sourcepub fn build(self) -> ExportMetalIOSurfaceInfoEXT
pub fn build(self) -> ExportMetalIOSurfaceInfoEXT
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 ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> Deref for ExportMetalIOSurfaceInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> DerefMut for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl ExtendsExportMetalObjectsInfoEXT for ExportMetalIOSurfaceInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> !Send for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> !Sync for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> Unpin for ExportMetalIOSurfaceInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ExportMetalIOSurfaceInfoEXTBuilder<'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