pub struct ImageSetFunction<'a> {
pub name: Function,
pub params: CommaSeparated<'a, ImageSetParams<'a>>,
pub close: RightParen,
}Expand description
https://drafts.csswg.org/css-images-4/#funcdef-image-set
<image-set()> = image-set( <image-set-option># )
<image-set-option> = [ <image> | <string> ] [ <resolution> || type(<string>) ]?Fields§
§name: Function§params: CommaSeparated<'a, ImageSetParams<'a>>§close: RightParenTrait Implementations§
Source§impl<'a> Clone for ImageSetFunction<'a>
impl<'a> Clone for ImageSetFunction<'a>
Source§fn clone(&self) -> ImageSetFunction<'a>
fn clone(&self) -> ImageSetFunction<'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 ImageSetFunction<'a>
impl<'a> Debug for ImageSetFunction<'a>
Source§impl<'a> Hash for ImageSetFunction<'a>
impl<'a> Hash for ImageSetFunction<'a>
Source§impl<'a> Ord for ImageSetFunction<'a>
impl<'a> Ord for ImageSetFunction<'a>
Source§fn cmp(&self, other: &ImageSetFunction<'a>) -> Ordering
fn cmp(&self, other: &ImageSetFunction<'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 ImageSetFunction<'a>
impl<'a> Parse<'a> for ImageSetFunction<'a>
Source§impl<'a> PartialEq for ImageSetFunction<'a>
impl<'a> PartialEq for ImageSetFunction<'a>
Source§impl<'a> PartialOrd for ImageSetFunction<'a>
impl<'a> PartialOrd for ImageSetFunction<'a>
Source§impl<'a> Peek<'a> for ImageSetFunction<'a>
impl<'a> Peek<'a> for ImageSetFunction<'a>
Source§impl<'a> ToCursors for ImageSetFunction<'a>
impl<'a> ToCursors for ImageSetFunction<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for ImageSetFunction<'a>
impl<'a> StructuralPartialEq for ImageSetFunction<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImageSetFunction<'a>
impl<'a> !RefUnwindSafe for ImageSetFunction<'a>
impl<'a> !Send for ImageSetFunction<'a>
impl<'a> !Sync for ImageSetFunction<'a>
impl<'a> Unpin for ImageSetFunction<'a>
impl<'a> !UnwindSafe for ImageSetFunction<'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