pub struct AnchorNameStyleValue<'a>(pub NoneOr<CommaSeparated<'a, DashedIdent>>);Expand description
Represents the style value for anchor-name as defined in css-anchor-position-2.
Anchor positioning places an element based on the position of another element. For example, you can place a tooltip next to the content it references.
The grammar is defined as:
none | <dashed-ident>#Tuple Fields§
§0: NoneOr<CommaSeparated<'a, DashedIdent>>Trait Implementations§
Source§impl<'a> Clone for AnchorNameStyleValue<'a>
impl<'a> Clone for AnchorNameStyleValue<'a>
Source§fn clone(&self) -> AnchorNameStyleValue<'a>
fn clone(&self) -> AnchorNameStyleValue<'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 AnchorNameStyleValue<'a>
impl<'a> Debug for AnchorNameStyleValue<'a>
Source§impl<'a> Hash for AnchorNameStyleValue<'a>
impl<'a> Hash for AnchorNameStyleValue<'a>
Source§impl<'a> Ord for AnchorNameStyleValue<'a>
impl<'a> Ord for AnchorNameStyleValue<'a>
Source§fn cmp(&self, other: &AnchorNameStyleValue<'a>) -> Ordering
fn cmp(&self, other: &AnchorNameStyleValue<'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 AnchorNameStyleValue<'a>
impl<'a> Parse<'a> for AnchorNameStyleValue<'a>
Source§impl<'a> PartialEq for AnchorNameStyleValue<'a>
impl<'a> PartialEq for AnchorNameStyleValue<'a>
Source§impl<'a> PartialOrd for AnchorNameStyleValue<'a>
impl<'a> PartialOrd for AnchorNameStyleValue<'a>
Source§impl<'a> Peek<'a> for AnchorNameStyleValue<'a>
impl<'a> Peek<'a> for AnchorNameStyleValue<'a>
Source§impl<'a> ToCursors for AnchorNameStyleValue<'a>
impl<'a> ToCursors for AnchorNameStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for AnchorNameStyleValue<'a>
impl<'a> StructuralPartialEq for AnchorNameStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnchorNameStyleValue<'a>
impl<'a> !RefUnwindSafe for AnchorNameStyleValue<'a>
impl<'a> !Send for AnchorNameStyleValue<'a>
impl<'a> !Sync for AnchorNameStyleValue<'a>
impl<'a> Unpin for AnchorNameStyleValue<'a>
impl<'a> !UnwindSafe for AnchorNameStyleValue<'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