#[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
Implementations§
Trait Implementations§
Source§impl<'a> FromValueOptional<'a> for RGBA
impl<'a> FromValueOptional<'a> for RGBA
unsafe fn from_value_optional(value: &'a Value) -> Option<Self>
Source§impl SetValueOptional for RGBA
impl SetValueOptional for RGBA
unsafe fn set_value_optional(value: &mut Value, this: Option<&Self>)
Source§impl StaticType for RGBA
impl StaticType for RGBA
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for RGBA
impl Eq for RGBA
Auto Trait Implementations§
impl Freeze for RGBA
impl RefUnwindSafe for RGBA
impl Send for RGBA
impl Sync for RGBA
impl Unpin for RGBA
impl UnwindSafe for RGBA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.