Struct gdk::RGBA [−][src]
Expand description
A RGBA
is used to represent a (possibly translucent)
color, in a way that is compatible with cairo’s notion of color.
Fields
red: f64
green: f64
blue: f64
alpha: f64
Implementations
Trait Implementations
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
Returns the type identifier of Self
.
Convert an Option
to a Value
.
Auto Trait Implementations
impl RefUnwindSafe for RGBA
impl UnwindSafe for RGBA
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,