Enum vulkano::format::ClearColorValue
source · pub enum ClearColorValue {
Float([f32; 4]),
Int([i32; 4]),
Uint([u32; 4]),
}
Expand description
A value that will be used to clear a color image.
Variants§
Float([f32; 4])
Value for formats with a numeric type that is not SINT
or UINT
.
Int([i32; 4])
Value for formats with a numeric type of SINT
.
Uint([u32; 4])
Value for formats with a numeric type of UINT
.
Trait Implementations§
source§impl Clone for ClearColorValue
impl Clone for ClearColorValue
source§fn clone(&self) -> ClearColorValue
fn clone(&self) -> ClearColorValue
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 ClearColorValue
impl Debug for ClearColorValue
source§impl From<ClearColorValue> for ClearColorValue
impl From<ClearColorValue> for ClearColorValue
source§fn from(val: ClearColorValue) -> Self
fn from(val: ClearColorValue) -> Self
Converts to this type from the input type.
source§impl From<ClearColorValue> for ClearValue
impl From<ClearColorValue> for ClearValue
source§fn from(val: ClearColorValue) -> Self
fn from(val: ClearColorValue) -> Self
Converts to this type from the input type.
source§impl PartialEq<ClearColorValue> for ClearColorValue
impl PartialEq<ClearColorValue> for ClearColorValue
source§fn eq(&self, other: &ClearColorValue) -> bool
fn eq(&self, other: &ClearColorValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.