Struct color::color_space::Srgb
source · pub struct Srgb;
Trait Implementations§
source§impl MatrixColorSpace for Srgb
impl MatrixColorSpace for Srgb
type WhitePoint = D65
fn red<T: Channel + Float>() -> Yxy<T, D50>
fn green<T: Channel + Float>() -> Yxy<T, D50>
fn blue<T: Channel + Float>() -> Yxy<T, D50>
fn to_xyz_matrix<T: Channel + Float>() -> Mat3<T>
fn to_rgb_matrix<T: Channel + Float>() -> Mat3<T>
fn magenta<T: Channel + Float>() -> Yxy<T, D50>
fn yellow<T: Channel + Float>() -> Yxy<T, D50>
fn cyan<T: Channel + Float>() -> Yxy<T, D50>
source§impl PartialEq<Srgb> for Srgb
impl PartialEq<Srgb> for Srgb
source§impl TransferFunction for Srgb
impl TransferFunction for Srgb
impl Copy for Srgb
impl Eq for Srgb
impl StructuralEq for Srgb
impl StructuralPartialEq for Srgb
Auto Trait Implementations§
impl RefUnwindSafe for Srgb
impl Send for Srgb
impl Sync for Srgb
impl Unpin for Srgb
impl UnwindSafe for Srgb
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