[−][src]Struct gdk::RGBA
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
impl RGBA[src]
pub fn black() -> RGBA[src]
pub fn blue() -> RGBA[src]
pub fn green() -> RGBA[src]
pub fn red() -> RGBA[src]
pub fn white() -> RGBA[src]
Trait Implementations
impl Clone for RGBA[src]
impl Copy for RGBA[src]
impl Debug for RGBA[src]
impl Display for RGBA[src]
impl Eq 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>[src]
impl<'a> FromValueOptional<'a> for RGBA[src]
unsafe fn from_value_optional(value: &'a Value) -> Option<Self>[src]
impl Hash for RGBA[src]
fn hash<H: Hasher>(&self, state: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<RGBA> for RGBA[src]
impl SetValue for RGBA[src]
impl SetValueOptional for RGBA[src]
unsafe fn set_value_optional(value: &mut Value, this: Option<&Self>)[src]
impl StaticType for RGBA[src]
fn static_type() -> Type[src]
Auto Trait Implementations
impl RefUnwindSafe for RGBA
impl Send for RGBA
impl Sync for RGBA
impl Unpin for RGBA
impl UnwindSafe for RGBA
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
T: SetValue + ?Sized,
fn to_value(&self) -> Value
fn to_value_type(&self) -> Type
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,