pub struct AccentColorStyleValue(pub AutoOr<Color>);Expand description
Represents the style value for accent-color as defined in css-ui-4.
The accent-color CSS property sets a color for checkboxes, radio buttons, and other form controls.
The grammar is defined as:
auto | <color>Tuple Fields§
§0: AutoOr<Color>Trait Implementations§
Source§impl Clone for AccentColorStyleValue
impl Clone for AccentColorStyleValue
Source§fn clone(&self) -> AccentColorStyleValue
fn clone(&self) -> AccentColorStyleValue
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 AccentColorStyleValue
impl Debug for AccentColorStyleValue
Source§impl Hash for AccentColorStyleValue
impl Hash for AccentColorStyleValue
Source§impl Ord for AccentColorStyleValue
impl Ord for AccentColorStyleValue
Source§fn cmp(&self, other: &AccentColorStyleValue) -> Ordering
fn cmp(&self, other: &AccentColorStyleValue) -> 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 AccentColorStyleValue
impl<'a> Parse<'a> for AccentColorStyleValue
Source§impl PartialEq for AccentColorStyleValue
impl PartialEq for AccentColorStyleValue
Source§impl PartialOrd for AccentColorStyleValue
impl PartialOrd for AccentColorStyleValue
Source§impl<'a> Peek<'a> for AccentColorStyleValue
impl<'a> Peek<'a> for AccentColorStyleValue
Source§impl ToCursors for AccentColorStyleValue
impl ToCursors for AccentColorStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for AccentColorStyleValue
impl StructuralPartialEq for AccentColorStyleValue
Auto Trait Implementations§
impl Freeze for AccentColorStyleValue
impl RefUnwindSafe for AccentColorStyleValue
impl Send for AccentColorStyleValue
impl Sync for AccentColorStyleValue
impl Unpin for AccentColorStyleValue
impl UnwindSafe for AccentColorStyleValue
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