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