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]
fn clone(&self) -> ClearColor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &ClearColor) -> bool
[src]
fn ne(&self, other: &ClearColor) -> bool
[src]
impl PartialOrd<ClearColor> for ClearColor
[src]
fn partial_cmp(&self, other: &ClearColor) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,