pub struct ColorAdjustStyleValue(pub PrintColorAdjustStyleValue);Expand description
Represents the style value for color-adjust as defined in css-color-adjust-1.
The color-adjust shorthand CSS property allows multiple performance related color adjustments to be set at once. Setting the print-color-adjust CSS property directly is preferred, as it is the only such adjustment so far defined.
The grammar is defined as:
<'print-color-adjust'>Tuple Fields§
§0: PrintColorAdjustStyleValueTrait Implementations§
Source§impl Clone for ColorAdjustStyleValue
impl Clone for ColorAdjustStyleValue
Source§fn clone(&self) -> ColorAdjustStyleValue
fn clone(&self) -> ColorAdjustStyleValue
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 ColorAdjustStyleValue
impl Debug for ColorAdjustStyleValue
Source§impl Hash for ColorAdjustStyleValue
impl Hash for ColorAdjustStyleValue
Source§impl Ord for ColorAdjustStyleValue
impl Ord for ColorAdjustStyleValue
Source§fn cmp(&self, other: &ColorAdjustStyleValue) -> Ordering
fn cmp(&self, other: &ColorAdjustStyleValue) -> 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 ColorAdjustStyleValue
impl<'a> Parse<'a> for ColorAdjustStyleValue
Source§impl PartialEq for ColorAdjustStyleValue
impl PartialEq for ColorAdjustStyleValue
Source§impl PartialOrd for ColorAdjustStyleValue
impl PartialOrd for ColorAdjustStyleValue
Source§impl<'a> Peek<'a> for ColorAdjustStyleValue
impl<'a> Peek<'a> for ColorAdjustStyleValue
Source§impl ToCursors for ColorAdjustStyleValue
impl ToCursors for ColorAdjustStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ColorAdjustStyleValue
impl StructuralPartialEq for ColorAdjustStyleValue
Auto Trait Implementations§
impl Freeze for ColorAdjustStyleValue
impl RefUnwindSafe for ColorAdjustStyleValue
impl Send for ColorAdjustStyleValue
impl Sync for ColorAdjustStyleValue
impl Unpin for ColorAdjustStyleValue
impl UnwindSafe for ColorAdjustStyleValue
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