Struct pilka_lib::ash::vk::SurfaceFormat2KHRBuilder [−]
#[repr(transparent)]pub struct SurfaceFormat2KHRBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> SurfaceFormat2KHRBuilder<'a>
impl<'a> SurfaceFormat2KHRBuilder<'a>
pub fn surface_format(
self,
surface_format: SurfaceFormatKHR
) -> SurfaceFormat2KHRBuilder<'a>
pub fn build(self) -> SurfaceFormat2KHR
pub fn build(self) -> SurfaceFormat2KHR
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.
Methods from Deref<Target = SurfaceFormat2KHR>
Trait Implementations
impl<'a> Deref for SurfaceFormat2KHRBuilder<'a>
impl<'a> Deref for SurfaceFormat2KHRBuilder<'a>
type Target = SurfaceFormat2KHR
type Target = SurfaceFormat2KHR
The resulting type after dereferencing.
pub fn deref(&self) -> &<SurfaceFormat2KHRBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<SurfaceFormat2KHRBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for SurfaceFormat2KHRBuilder<'a>
impl<'a> DerefMut for SurfaceFormat2KHRBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <SurfaceFormat2KHRBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <SurfaceFormat2KHRBuilder<'a> as Deref>::Target
Mutably dereferences the value.