Struct ash::vk::SurfaceFormatKHR
source · #[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 Debug for SurfaceFormatKHR
impl Debug for SurfaceFormatKHR
source§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<SurfaceFormatKHR> for SurfaceFormatKHR
impl PartialEq<SurfaceFormatKHR> for SurfaceFormatKHR
source§fn eq(&self, other: &SurfaceFormatKHR) -> bool
fn eq(&self, other: &SurfaceFormatKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.