pub(crate) enum Sp {
Show 15 variants
Srgb,
SrgbLinear,
DisplayP3,
DisplayP3Linear,
A98,
ProPhoto,
Rec2020,
XyzD65,
XyzD50,
Hsl,
Hwb,
Lab,
Lch,
Oklab,
Oklch,
}Expand description
色空間(color() の予約済み空間と、各関数の空間)。
Variants§
Srgb
SrgbLinear
DisplayP3
DisplayP3Linear
A98
ProPhoto
Rec2020
XyzD65
XyzD50
Hsl
Hwb
Lab
Lch
Oklab
Oklch
Trait Implementations§
impl Copy for Sp
impl Eq for Sp
impl StructuralPartialEq for Sp
Auto Trait Implementations§
impl Freeze for Sp
impl RefUnwindSafe for Sp
impl Send for Sp
impl Sync for Sp
impl Unpin for Sp
impl UnsafeUnpin for Sp
impl UnwindSafe for Sp
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.