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