Fields
r: f32
g: f32
b: f32
alpha: f32
Implementations
Trait Implementations
sourceimpl From<FloatColor> for Rec2020
impl From<FloatColor> for Rec2020
sourcefn from(color: FloatColor) -> Rec2020
fn from(color: FloatColor) -> Rec2020
Performs the conversion.
sourceimpl From<PredefinedColor> for Rec2020
impl From<PredefinedColor> for Rec2020
sourcefn from(color: PredefinedColor) -> Rec2020
fn from(color: PredefinedColor) -> Rec2020
Performs the conversion.
sourceimpl From<Rec2020> for PredefinedColor
impl From<Rec2020> for PredefinedColor
sourcefn from(color: Rec2020) -> PredefinedColor
fn from(color: Rec2020) -> PredefinedColor
Performs the conversion.
sourceimpl From<Rec2020> for SRGBLinear
impl From<Rec2020> for SRGBLinear
sourcefn from(t: Rec2020) -> SRGBLinear
fn from(t: Rec2020) -> SRGBLinear
Performs the conversion.
sourceimpl From<SRGBLinear> for Rec2020
impl From<SRGBLinear> for Rec2020
sourcefn from(t: SRGBLinear) -> Rec2020
fn from(t: SRGBLinear) -> Rec2020
Performs the conversion.
impl Copy for Rec2020
impl StructuralPartialEq for Rec2020
Auto Trait Implementations
impl RefUnwindSafe for Rec2020
impl Send for Rec2020
impl Sync for Rec2020
impl Unpin for Rec2020
impl UnwindSafe for Rec2020
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more