pub struct AnchorName(pub DashedIdent);Expand description
https://drafts.csswg.org/css-anchor-position-1/#typedef-anchor-name
<anchor-name> = <dashed-ident>Tuple Fields§
§0: DashedIdentTrait Implementations§
Source§impl Clone for AnchorName
impl Clone for AnchorName
Source§fn clone(&self) -> AnchorName
fn clone(&self) -> AnchorName
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 AnchorName
impl Debug for AnchorName
Source§impl From<AnchorName> for Cursor
impl From<AnchorName> for Cursor
Source§fn from(value: AnchorName) -> Cursor
fn from(value: AnchorName) -> Cursor
Converts to this type from the input type.
Source§impl From<AnchorName> for Token
impl From<AnchorName> for Token
Source§fn from(value: AnchorName) -> Token
fn from(value: AnchorName) -> Token
Converts to this type from the input type.
Source§impl Hash for AnchorName
impl Hash for AnchorName
Source§impl Ord for AnchorName
impl Ord for AnchorName
Source§fn cmp(&self, other: &AnchorName) -> Ordering
fn cmp(&self, other: &AnchorName) -> 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 AnchorName
impl<'a> Parse<'a> for AnchorName
Source§impl PartialEq for AnchorName
impl PartialEq for AnchorName
Source§impl PartialOrd for AnchorName
impl PartialOrd for AnchorName
Source§impl<'a> Peek<'a> for AnchorName
impl<'a> Peek<'a> for AnchorName
Source§impl ToCursors for AnchorName
impl ToCursors for AnchorName
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for AnchorName
impl Eq for AnchorName
impl StructuralPartialEq for AnchorName
Auto Trait Implementations§
impl Freeze for AnchorName
impl RefUnwindSafe for AnchorName
impl Send for AnchorName
impl Sync for AnchorName
impl Unpin for AnchorName
impl UnwindSafe for AnchorName
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