pub struct OklabFunction {
pub name: Function,
pub params: LabFunctionParams,
pub close: RightParen,
}Expand description
https://drafts.csswg.org/css-color/#funcdef-oklab
oklab() = oklab( [ <percentage> | <number> | none]
[ <percentage> | <number> | none]
[ <percentage> | <number> | none]
[ / [<alpha-value> | none] ]? )Fields§
§name: Function§params: LabFunctionParams§close: RightParenTrait Implementations§
Source§impl Clone for OklabFunction
impl Clone for OklabFunction
Source§fn clone(&self) -> OklabFunction
fn clone(&self) -> OklabFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OklabFunction
impl Debug for OklabFunction
Source§impl Hash for OklabFunction
impl Hash for OklabFunction
Source§impl Ord for OklabFunction
impl Ord for OklabFunction
Source§fn cmp(&self, other: &OklabFunction) -> Ordering
fn cmp(&self, other: &OklabFunction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for OklabFunction
impl<'a> Parse<'a> for OklabFunction
Source§impl PartialEq for OklabFunction
impl PartialEq for OklabFunction
Source§impl PartialOrd for OklabFunction
impl PartialOrd for OklabFunction
Source§impl<'a> Peek<'a> for OklabFunction
impl<'a> Peek<'a> for OklabFunction
Source§impl ToCursors for OklabFunction
impl ToCursors for OklabFunction
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OklabFunction
impl StructuralPartialEq for OklabFunction
Auto Trait Implementations§
impl Freeze for OklabFunction
impl RefUnwindSafe for OklabFunction
impl Send for OklabFunction
impl Sync for OklabFunction
impl Unpin for OklabFunction
impl UnwindSafe for OklabFunction
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