Struct color::color_space::Srgb
source · [−]pub struct Srgb;
Trait Implementations
sourceimpl 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>
sourceimpl 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
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
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