#[repr(C)]pub struct SurfaceFormatKHR {
pub format: Format,
pub color_space: ColorSpaceKHR,
}
Expand description
Fields§
§format: Format
§color_space: ColorSpaceKHR
Implementations§
Source§impl SurfaceFormatKHR
impl SurfaceFormatKHR
pub fn builder<'a>() -> SurfaceFormatKHRBuilder<'a>
Trait Implementations§
Source§impl Clone for SurfaceFormatKHR
impl Clone for SurfaceFormatKHR
Source§fn clone(&self) -> SurfaceFormatKHR
fn clone(&self) -> SurfaceFormatKHR
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 Default for SurfaceFormatKHR
impl Default for SurfaceFormatKHR
Source§fn default() -> SurfaceFormatKHR
fn default() -> SurfaceFormatKHR
Returns the “default value” for a type. Read more
Source§impl Hash for SurfaceFormatKHR
impl Hash for SurfaceFormatKHR
Source§impl PartialEq for SurfaceFormatKHR
impl PartialEq for SurfaceFormatKHR
impl Copy for SurfaceFormatKHR
impl Eq for SurfaceFormatKHR
impl StructuralPartialEq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)