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 format(self, format: Format) -> Self
pub fn color_space(self, color_space: ColorSpaceKHR) -> Self
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 for SurfaceFormatKHR
impl PartialEq 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 ==
.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