Struct color::Rg [−][src]
pub struct Rg<T> { pub r: T, pub g: T, }
Fields
r: T
g: T
Trait Implementations
impl<T: Clone> Clone for Rg<T>
[src]
impl<T: Clone> Clone for Rg<T>
fn clone(&self) -> Rg<T>
[src]
fn clone(&self) -> Rg<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for Rg<T>
[src]
impl<T: Copy> Copy for Rg<T>
impl<T: PartialEq> PartialEq for Rg<T>
[src]
impl<T: PartialEq> PartialEq for Rg<T>
fn eq(&self, other: &Rg<T>) -> bool
[src]
fn eq(&self, other: &Rg<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rg<T>) -> bool
[src]
fn ne(&self, other: &Rg<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Rg<T>
[src]
impl<T: Eq> Eq for Rg<T>
impl<T: Debug> Debug for Rg<T>
[src]
impl<T: Debug> Debug for Rg<T>