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