Struct ash::vk::HeadlessSurfaceCreateInfoEXTBuilder
source · [−]#[repr(transparent)]pub struct HeadlessSurfaceCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> HeadlessSurfaceCreateInfoEXTBuilder<'a>
impl<'a> HeadlessSurfaceCreateInfoEXTBuilder<'a>
pub fn flags(self, flags: HeadlessSurfaceCreateFlagsEXT) -> Self
sourcepub fn build(self) -> HeadlessSurfaceCreateInfoEXT
pub fn build(self) -> HeadlessSurfaceCreateInfoEXT
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
sourceimpl<'a> Deref for HeadlessSurfaceCreateInfoEXTBuilder<'a>
impl<'a> Deref for HeadlessSurfaceCreateInfoEXTBuilder<'a>
type Target = HeadlessSurfaceCreateInfoEXT
type Target = HeadlessSurfaceCreateInfoEXT
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for HeadlessSurfaceCreateInfoEXTBuilder<'a>
impl<'a> !Send for HeadlessSurfaceCreateInfoEXTBuilder<'a>
impl<'a> !Sync for HeadlessSurfaceCreateInfoEXTBuilder<'a>
impl<'a> Unpin for HeadlessSurfaceCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for HeadlessSurfaceCreateInfoEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more