Struct gdk::RGBA
[−]
[src]
#[repr(C)]pub struct RGBA { pub red: f64, pub green: f64, pub blue: f64, pub alpha: f64, }
Fields
red: f64
green: f64
blue: f64
alpha: f64
Methods
impl RGBA
[src]
Trait Implementations
impl Clone for RGBA
[src]
fn clone(&self) -> RGBA
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for RGBA
[src]
impl Debug for RGBA
[src]
impl Display for RGBA
[src]
impl FromStr for RGBA
[src]
type Err = RgbaParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl Hash for RGBA
[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for RGBA
[src]
fn eq(&self, other: &RGBA) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for RGBA
[src]
impl StaticType for RGBA
[src]
fn static_type() -> Type
Returns the type identifier of Self
.