Struct vulkanalia::vk::SurfaceFormatKHRBuilder
source · #[repr(transparent)]pub struct SurfaceFormatKHRBuilder { /* private fields */ }
Expand description
A builder for a SurfaceFormatKHR
.
Implementations§
source§impl SurfaceFormatKHRBuilder
impl SurfaceFormatKHRBuilder
pub fn format(self, format: Format) -> Self
pub fn color_space(self, color_space: ColorSpaceKHR) -> Self
pub fn build(self) -> SurfaceFormatKHR
Trait Implementations§
source§impl Cast for SurfaceFormatKHRBuilder
impl Cast for SurfaceFormatKHRBuilder
§type Target = SurfaceFormatKHR
type Target = SurfaceFormatKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SurfaceFormatKHRBuilder
impl Clone for SurfaceFormatKHRBuilder
source§fn clone(&self) -> SurfaceFormatKHRBuilder
fn clone(&self) -> SurfaceFormatKHRBuilder
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 Debug for SurfaceFormatKHRBuilder
impl Debug for SurfaceFormatKHRBuilder
source§impl Default for SurfaceFormatKHRBuilder
impl Default for SurfaceFormatKHRBuilder
source§fn default() -> SurfaceFormatKHRBuilder
fn default() -> SurfaceFormatKHRBuilder
Returns the “default value” for a type. Read more
source§impl Deref for SurfaceFormatKHRBuilder
impl Deref for SurfaceFormatKHRBuilder
source§impl DerefMut for SurfaceFormatKHRBuilder
impl DerefMut for SurfaceFormatKHRBuilder
impl Copy for SurfaceFormatKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SurfaceFormatKHRBuilder
impl Send for SurfaceFormatKHRBuilder
impl Sync for SurfaceFormatKHRBuilder
impl Unpin for SurfaceFormatKHRBuilder
impl UnwindSafe for SurfaceFormatKHRBuilder
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