pub struct VkSurfaceFormat {
pub format: VkFormat,
pub color_space: VkColorSpace,
}
Expand description
Wrapper for VkSurfaceFormatKHR.
Fields§
§format: VkFormat
§color_space: VkColorSpace
Trait Implementations§
Source§impl Clone for VkSurfaceFormat
impl Clone for VkSurfaceFormat
Source§fn clone(&self) -> VkSurfaceFormat
fn clone(&self) -> VkSurfaceFormat
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 VkSurfaceFormat
impl Debug for VkSurfaceFormat
Source§impl Default for VkSurfaceFormat
impl Default for VkSurfaceFormat
Source§fn default() -> VkSurfaceFormat
fn default() -> VkSurfaceFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkSurfaceFormat
impl RefUnwindSafe for VkSurfaceFormat
impl Send for VkSurfaceFormat
impl Sync for VkSurfaceFormat
impl Unpin for VkSurfaceFormat
impl UnwindSafe for VkSurfaceFormat
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