#[repr(C)]pub struct SurfaceFormatKHR {
pub format: Format,
pub color_space: ColorSpaceKHR,
}Expand description
Native structure VkSurfaceFormatKHR.
Fields§
§format: FormatNative field format.
color_space: ColorSpaceKHRNative field colorSpace.
Implementations§
Source§impl SurfaceFormatKHR
impl SurfaceFormatKHR
Sourcepub fn set_format(self, value: Format) -> Self
pub fn set_format(self, value: Format) -> Self
Set native field format without native effects.
Sourcepub fn set_color_space(self, value: ColorSpaceKHR) -> Self
pub fn set_color_space(self, value: ColorSpaceKHR) -> Self
Set native field colorSpace without native effects.
Trait Implementations§
Source§impl Clone for SurfaceFormatKHR
impl Clone for SurfaceFormatKHR
impl Copy for SurfaceFormatKHR
Auto Trait Implementations§
impl Forget for SurfaceFormatKHR
impl Freeze for SurfaceFormatKHR
impl Move 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