pub struct BackgroundImageStyleValue<'a>(pub CommaSeparated<'a, BgImage<'a>>);Expand description
Represents the style value for background-image as defined in css-backgrounds-4.
The background-image CSS property sets the graphics to display behind the content of an element and in front of the background color. Graphics may be any combination of images or gradients.
The grammar is defined as:
<bg-image>#Tuple Fields§
§0: CommaSeparated<'a, BgImage<'a>>Trait Implementations§
Source§impl<'a> Clone for BackgroundImageStyleValue<'a>
impl<'a> Clone for BackgroundImageStyleValue<'a>
Source§fn clone(&self) -> BackgroundImageStyleValue<'a>
fn clone(&self) -> BackgroundImageStyleValue<'a>
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<'a> Debug for BackgroundImageStyleValue<'a>
impl<'a> Debug for BackgroundImageStyleValue<'a>
Source§impl<'a> Hash for BackgroundImageStyleValue<'a>
impl<'a> Hash for BackgroundImageStyleValue<'a>
Source§impl<'a> Ord for BackgroundImageStyleValue<'a>
impl<'a> Ord for BackgroundImageStyleValue<'a>
Source§fn cmp(&self, other: &BackgroundImageStyleValue<'a>) -> Ordering
fn cmp(&self, other: &BackgroundImageStyleValue<'a>) -> 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 BackgroundImageStyleValue<'a>
impl<'a> Parse<'a> for BackgroundImageStyleValue<'a>
Source§impl<'a> PartialEq for BackgroundImageStyleValue<'a>
impl<'a> PartialEq for BackgroundImageStyleValue<'a>
Source§fn eq(&self, other: &BackgroundImageStyleValue<'a>) -> bool
fn eq(&self, other: &BackgroundImageStyleValue<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> PartialOrd for BackgroundImageStyleValue<'a>
impl<'a> PartialOrd for BackgroundImageStyleValue<'a>
Source§impl<'a> Peek<'a> for BackgroundImageStyleValue<'a>
impl<'a> Peek<'a> for BackgroundImageStyleValue<'a>
Source§impl<'a> ToCursors for BackgroundImageStyleValue<'a>
impl<'a> ToCursors for BackgroundImageStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for BackgroundImageStyleValue<'a>
impl<'a> StructuralPartialEq for BackgroundImageStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for BackgroundImageStyleValue<'a>
impl<'a> !RefUnwindSafe for BackgroundImageStyleValue<'a>
impl<'a> !Send for BackgroundImageStyleValue<'a>
impl<'a> !Sync for BackgroundImageStyleValue<'a>
impl<'a> Unpin for BackgroundImageStyleValue<'a>
impl<'a> !UnwindSafe for BackgroundImageStyleValue<'a>
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