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: f64green: f64blue: f64alpha: f64Implementations
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 RGBAimpl UnwindSafe for RGBABlanket 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>,