Struct allegro_sys::color::ALLEGRO_COLOR
source · [−]Fields
r: f32
g: f32
b: f32
a: f32
Trait Implementations
sourceimpl Clone for ALLEGRO_COLOR
impl Clone for ALLEGRO_COLOR
sourcefn clone(&self) -> ALLEGRO_COLOR
fn clone(&self) -> ALLEGRO_COLOR
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 ALLEGRO_COLOR
impl Debug for ALLEGRO_COLOR
sourceimpl PartialEq<ALLEGRO_COLOR> for ALLEGRO_COLOR
impl PartialEq<ALLEGRO_COLOR> for ALLEGRO_COLOR
sourcefn eq(&self, other: &ALLEGRO_COLOR) -> bool
fn eq(&self, other: &ALLEGRO_COLOR) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialOrd<ALLEGRO_COLOR> for ALLEGRO_COLOR
impl PartialOrd<ALLEGRO_COLOR> for ALLEGRO_COLOR
sourcefn partial_cmp(&self, other: &ALLEGRO_COLOR) -> Option<Ordering>
fn partial_cmp(&self, other: &ALLEGRO_COLOR) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ALLEGRO_COLOR
impl StructuralPartialEq for ALLEGRO_COLOR
Auto Trait Implementations
impl RefUnwindSafe for ALLEGRO_COLOR
impl Send for ALLEGRO_COLOR
impl Sync for ALLEGRO_COLOR
impl Unpin for ALLEGRO_COLOR
impl UnwindSafe for ALLEGRO_COLOR
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