pub struct AttrFunction<'a> {
pub name: Function,
pub params: AttrFunctionParams<'a>,
pub close: RightParen,
}Expand description
https://drafts.csswg.org/css-values-5/#attr-notation
attr() = attr( <attr-name> <attr-type>? , <declaration-value>?)
<attr-type> = type( <syntax> ) | raw-string | <attr-unit>Fields§
§name: Function§params: AttrFunctionParams<'a>§close: RightParenTrait Implementations§
Source§impl<'a> Clone for AttrFunction<'a>
impl<'a> Clone for AttrFunction<'a>
Source§fn clone(&self) -> AttrFunction<'a>
fn clone(&self) -> AttrFunction<'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 AttrFunction<'a>
impl<'a> Debug for AttrFunction<'a>
Source§impl<'a> Hash for AttrFunction<'a>
impl<'a> Hash for AttrFunction<'a>
Source§impl<'a> Ord for AttrFunction<'a>
impl<'a> Ord for AttrFunction<'a>
Source§fn cmp(&self, other: &AttrFunction<'a>) -> Ordering
fn cmp(&self, other: &AttrFunction<'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 AttrFunction<'a>
impl<'a> Parse<'a> for AttrFunction<'a>
Source§impl<'a> PartialEq for AttrFunction<'a>
impl<'a> PartialEq for AttrFunction<'a>
Source§impl<'a> PartialOrd for AttrFunction<'a>
impl<'a> PartialOrd for AttrFunction<'a>
Source§impl<'a> Peek<'a> for AttrFunction<'a>
impl<'a> Peek<'a> for AttrFunction<'a>
Source§impl<'a> ToCursors for AttrFunction<'a>
impl<'a> ToCursors for AttrFunction<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for AttrFunction<'a>
impl<'a> StructuralPartialEq for AttrFunction<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttrFunction<'a>
impl<'a> !RefUnwindSafe for AttrFunction<'a>
impl<'a> !Send for AttrFunction<'a>
impl<'a> !Sync for AttrFunction<'a>
impl<'a> Unpin for AttrFunction<'a>
impl<'a> !UnwindSafe for AttrFunction<'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