Expand description
A color in the prophoto-rgb
color space.
Fields
r: f32
The red component.
g: f32
The green component.
b: f32
The blue component.
alpha: f32
The alpha component.
Implementations
Trait Implementations
sourceimpl ColorGamut for ProPhoto
impl ColorGamut for ProPhoto
sourceimpl From<FloatColor> for ProPhoto
impl From<FloatColor> for ProPhoto
sourcefn from(color: FloatColor) -> ProPhoto
fn from(color: FloatColor) -> ProPhoto
Converts to this type from the input type.
sourceimpl From<PredefinedColor> for ProPhoto
impl From<PredefinedColor> for ProPhoto
sourcefn from(color: PredefinedColor) -> ProPhoto
fn from(color: PredefinedColor) -> ProPhoto
Converts to this type from the input type.
sourceimpl From<ProPhoto> for PredefinedColor
impl From<ProPhoto> for PredefinedColor
sourcefn from(color: ProPhoto) -> PredefinedColor
fn from(color: ProPhoto) -> PredefinedColor
Converts to this type from the input type.
sourceimpl From<ProPhoto> for SRGBLinear
impl From<ProPhoto> for SRGBLinear
sourcefn from(t: ProPhoto) -> SRGBLinear
fn from(t: ProPhoto) -> SRGBLinear
Converts to this type from the input type.
sourceimpl From<SRGBLinear> for ProPhoto
impl From<SRGBLinear> for ProPhoto
sourcefn from(t: SRGBLinear) -> ProPhoto
fn from(t: SRGBLinear) -> ProPhoto
Converts to this type from the input type.
impl Copy for ProPhoto
impl StructuralPartialEq for ProPhoto
Auto Trait Implementations
impl RefUnwindSafe for ProPhoto
impl Send for ProPhoto
impl Sync for ProPhoto
impl Unpin for ProPhoto
impl UnwindSafe for ProPhoto
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