Struct vulkanalia::vk::SurfaceFormat2KHRBuilder
source · pub struct SurfaceFormat2KHRBuilder<'b> { /* private fields */ }
Expand description
A builder for a SurfaceFormat2KHR
.
Implementations§
source§impl<'b> SurfaceFormat2KHRBuilder<'b>
impl<'b> SurfaceFormat2KHRBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsSurfaceFormat2KHR,
pub fn surface_format( self, surface_format: impl Cast<Target = SurfaceFormatKHR> ) -> Self
pub fn build(self) -> SurfaceFormat2KHR
Trait Implementations§
source§impl<'b> Cast for SurfaceFormat2KHRBuilder<'b>
impl<'b> Cast for SurfaceFormat2KHRBuilder<'b>
§type Target = SurfaceFormat2KHR
type Target = SurfaceFormat2KHR
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SurfaceFormat2KHRBuilder<'b>
impl<'b> Clone for SurfaceFormat2KHRBuilder<'b>
source§fn clone(&self) -> SurfaceFormat2KHRBuilder<'b>
fn clone(&self) -> SurfaceFormat2KHRBuilder<'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'b> Debug for SurfaceFormat2KHRBuilder<'b>
impl<'b> Debug for SurfaceFormat2KHRBuilder<'b>
source§impl<'b> Default for SurfaceFormat2KHRBuilder<'b>
impl<'b> Default for SurfaceFormat2KHRBuilder<'b>
source§fn default() -> SurfaceFormat2KHRBuilder<'b>
fn default() -> SurfaceFormat2KHRBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SurfaceFormat2KHRBuilder<'b>
impl<'b> Deref for SurfaceFormat2KHRBuilder<'b>
source§impl<'b> DerefMut for SurfaceFormat2KHRBuilder<'b>
impl<'b> DerefMut for SurfaceFormat2KHRBuilder<'b>
impl<'b> Copy for SurfaceFormat2KHRBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for SurfaceFormat2KHRBuilder<'b>
impl<'b> RefUnwindSafe for SurfaceFormat2KHRBuilder<'b>
impl<'b> !Send for SurfaceFormat2KHRBuilder<'b>
impl<'b> !Sync for SurfaceFormat2KHRBuilder<'b>
impl<'b> Unpin for SurfaceFormat2KHRBuilder<'b>
impl<'b> UnwindSafe for SurfaceFormat2KHRBuilder<'b>
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