pub enum PrintColorAdjustStyleValue {
Economy(Ident),
Exact(Ident),
}Expand description
Represents the style value for print-color-adjust as defined in css-color-adjust-1.
The print-color-adjust CSS property sets whether styles of printed pages should be adjusted to use less ink, in cases such as light text on a dark background.
The grammar is defined as:
economy | exactVariants§
Trait Implementations§
Source§impl Clone for PrintColorAdjustStyleValue
impl Clone for PrintColorAdjustStyleValue
Source§fn clone(&self) -> PrintColorAdjustStyleValue
fn clone(&self) -> PrintColorAdjustStyleValue
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 PrintColorAdjustStyleValue
impl Debug for PrintColorAdjustStyleValue
Source§impl Hash for PrintColorAdjustStyleValue
impl Hash for PrintColorAdjustStyleValue
Source§impl Ord for PrintColorAdjustStyleValue
impl Ord for PrintColorAdjustStyleValue
Source§fn cmp(&self, other: &PrintColorAdjustStyleValue) -> Ordering
fn cmp(&self, other: &PrintColorAdjustStyleValue) -> 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 PrintColorAdjustStyleValue
impl<'a> Parse<'a> for PrintColorAdjustStyleValue
Source§impl PartialOrd for PrintColorAdjustStyleValue
impl PartialOrd for PrintColorAdjustStyleValue
Source§impl<'a> Peek<'a> for PrintColorAdjustStyleValue
impl<'a> Peek<'a> for PrintColorAdjustStyleValue
Source§impl ToCursors for PrintColorAdjustStyleValue
impl ToCursors for PrintColorAdjustStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for PrintColorAdjustStyleValue
impl StructuralPartialEq for PrintColorAdjustStyleValue
Auto Trait Implementations§
impl Freeze for PrintColorAdjustStyleValue
impl RefUnwindSafe for PrintColorAdjustStyleValue
impl Send for PrintColorAdjustStyleValue
impl Sync for PrintColorAdjustStyleValue
impl Unpin for PrintColorAdjustStyleValue
impl UnwindSafe for PrintColorAdjustStyleValue
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