Struct ash::vk::DirectFBSurfaceCreateInfoEXTBuilder
source · pub struct DirectFBSurfaceCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> DirectFBSurfaceCreateInfoEXTBuilder<'a>
pub fn flags(self, flags: DirectFBSurfaceCreateFlagsEXT) -> Self
pub fn dfb(self, dfb: *mut IDirectFB) -> Self
pub fn surface(self, surface: *mut IDirectFBSurface) -> Self
sourcepub fn build(self) -> DirectFBSurfaceCreateInfoEXT
pub fn build(self) -> DirectFBSurfaceCreateInfoEXT
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 DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> Deref for DirectFBSurfaceCreateInfoEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> !Send for DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> !Sync for DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> Unpin for DirectFBSurfaceCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for DirectFBSurfaceCreateInfoEXTBuilder<'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