pub struct MetalSurfaceCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> MetalSurfaceCreateInfoEXTBuilder<'a>
pub fn flags(self, flags: MetalSurfaceCreateFlagsEXT) -> Self
pub fn layer(self, layer: *const CAMetalLayer) -> Self
Sourcepub fn build(self) -> MetalSurfaceCreateInfoEXT
pub fn build(self) -> MetalSurfaceCreateInfoEXT
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 MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> Deref for MetalSurfaceCreateInfoEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> !Send for MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> !Sync for MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> Unpin for MetalSurfaceCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for MetalSurfaceCreateInfoEXTBuilder<'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