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