Struct ash::vk::MetalSurfaceCreateInfoEXTBuilder
source · 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