Enum vulkano::format::ClearColorValue
source · [−]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
sourceimpl Clone for ClearColorValue
impl Clone for ClearColorValue
sourcefn clone(&self) -> ClearColorValue
fn clone(&self) -> ClearColorValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClearColorValue
impl Debug for ClearColorValue
sourceimpl From<ClearColorValue> for ClearColorValue
impl From<ClearColorValue> for ClearColorValue
sourcefn from(val: ClearColorValue) -> Self
fn from(val: ClearColorValue) -> Self
Converts to this type from the input type.
sourceimpl From<ClearColorValue> for ClearValue
impl From<ClearColorValue> for ClearValue
sourcefn from(val: ClearColorValue) -> Self
fn from(val: ClearColorValue) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ClearColorValue> for ClearColorValue
impl PartialEq<ClearColorValue> for ClearColorValue
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ClearColorValue) -> bool
fn ne(&self, other: &ClearColorValue) -> bool
This method tests for !=
.
impl Copy for ClearColorValue
impl StructuralPartialEq for ClearColorValue
Auto Trait Implementations
impl RefUnwindSafe for ClearColorValue
impl Send for ClearColorValue
impl Sync for ClearColorValue
impl Unpin for ClearColorValue
impl UnwindSafe for ClearColorValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more