Enum gfx_core::command::ClearColor [−][src]
A universal clear color supporting integet formats as well as the standard floating-point.
Variants
Standard floating-point vec4 color
Integer vector to clear ivec4 targets.
Unsigned int vector to clear uvec4 targets.
Trait Implementations
impl Clone for ClearColor
[src][+]
impl Copy for ClearColor
[src]
impl Debug for ClearColor
[src][+]
impl From<[f32; 2]> for ClearColor
[src][+]
impl From<[f32; 3]> for ClearColor
[src][+]
impl From<[f32; 4]> for ClearColor
[src][+]
impl From<[i32; 2]> for ClearColor
[src][+]
impl From<[i32; 3]> for ClearColor
[src][+]
impl From<[i32; 4]> for ClearColor
[src][+]
impl From<[u32; 2]> for ClearColor
[src][+]
impl From<[u32; 3]> for ClearColor
[src][+]
impl From<[u32; 4]> for ClearColor
[src][+]
impl From<f32> for ClearColor
[src][+]
impl From<i32> for ClearColor
[src][+]
impl From<u32> for ClearColor
[src][+]
impl PartialEq<ClearColor> for ClearColor
[src][+]
impl PartialOrd<ClearColor> for ClearColor
[src][+]
impl StructuralPartialEq for ClearColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClearColor
impl Send for ClearColor
impl Sync for ClearColor
impl Unpin for ClearColor
impl UnwindSafe for ClearColor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,