pub struct BackgroundColorStyleValue(pub Color);Expand description
Represents the style value for background-color as defined in css-backgrounds-4.
The background-color CSS property sets the fill color of an element, behind any content and background images or gradients.
The grammar is defined as:
<color>Tuple Fields§
§0: ColorTrait Implementations§
Source§impl Clone for BackgroundColorStyleValue
impl Clone for BackgroundColorStyleValue
Source§fn clone(&self) -> BackgroundColorStyleValue
fn clone(&self) -> BackgroundColorStyleValue
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 BackgroundColorStyleValue
impl Debug for BackgroundColorStyleValue
Source§impl Hash for BackgroundColorStyleValue
impl Hash for BackgroundColorStyleValue
Source§impl Ord for BackgroundColorStyleValue
impl Ord for BackgroundColorStyleValue
Source§fn cmp(&self, other: &BackgroundColorStyleValue) -> Ordering
fn cmp(&self, other: &BackgroundColorStyleValue) -> 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 BackgroundColorStyleValue
impl<'a> Parse<'a> for BackgroundColorStyleValue
Source§impl PartialOrd for BackgroundColorStyleValue
impl PartialOrd for BackgroundColorStyleValue
Source§impl<'a> Peek<'a> for BackgroundColorStyleValue
impl<'a> Peek<'a> for BackgroundColorStyleValue
Source§impl ToCursors for BackgroundColorStyleValue
impl ToCursors for BackgroundColorStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BackgroundColorStyleValue
impl StructuralPartialEq for BackgroundColorStyleValue
Auto Trait Implementations§
impl Freeze for BackgroundColorStyleValue
impl RefUnwindSafe for BackgroundColorStyleValue
impl Send for BackgroundColorStyleValue
impl Sync for BackgroundColorStyleValue
impl Unpin for BackgroundColorStyleValue
impl UnwindSafe for BackgroundColorStyleValue
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