#[repr(C)]pub struct SurfaceFormatKHR {
pub format: Format,
pub color_space: ColorSpaceKHR,
}Expand description
VkSurfaceFormatKHR
Provided by VK_KHR_surface.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§format: Format§color_space: ColorSpaceKHRImplementations§
Source§impl SurfaceFormatKHR
impl SurfaceFormatKHR
Sourcepub fn builder() -> SurfaceFormatKHRBuilder
pub fn builder() -> SurfaceFormatKHRBuilder
Start building this struct.
Trait Implementations§
Source§impl Clone for SurfaceFormatKHR
impl Clone for SurfaceFormatKHR
Source§fn clone(&self) -> SurfaceFormatKHR
fn clone(&self) -> SurfaceFormatKHR
Returns a duplicate 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 SurfaceFormatKHR
impl Debug for SurfaceFormatKHR
Source§impl Default for SurfaceFormatKHR
impl Default for SurfaceFormatKHR
impl Copy for SurfaceFormatKHR
Auto Trait Implementations§
impl Freeze for SurfaceFormatKHR
impl RefUnwindSafe for SurfaceFormatKHR
impl Send for SurfaceFormatKHR
impl Sync for SurfaceFormatKHR
impl Unpin for SurfaceFormatKHR
impl UnsafeUnpin for SurfaceFormatKHR
impl UnwindSafe for SurfaceFormatKHR
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