pub struct CustomIdent(/* private fields */);Expand description
https://drafts.csswg.org/css-values/#custom-idents
Wraps T![Ident], but exists for the purposes of Visitable/VisitableMut.
Trait Implementations§
Source§impl Clone for CustomIdent
impl Clone for CustomIdent
Source§fn clone(&self) -> CustomIdent
fn clone(&self) -> CustomIdent
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 CustomIdent
impl Debug for CustomIdent
Source§impl From<CustomIdent> for Cursor
impl From<CustomIdent> for Cursor
Source§fn from(value: CustomIdent) -> Cursor
fn from(value: CustomIdent) -> Cursor
Converts to this type from the input type.
Source§impl From<CustomIdent> for Token
impl From<CustomIdent> for Token
Source§fn from(value: CustomIdent) -> Token
fn from(value: CustomIdent) -> Token
Converts to this type from the input type.
Source§impl Hash for CustomIdent
impl Hash for CustomIdent
Source§impl Ord for CustomIdent
impl Ord for CustomIdent
Source§fn cmp(&self, other: &CustomIdent) -> Ordering
fn cmp(&self, other: &CustomIdent) -> 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 CustomIdent
impl<'a> Parse<'a> for CustomIdent
Source§impl PartialEq for CustomIdent
impl PartialEq for CustomIdent
Source§impl PartialOrd for CustomIdent
impl PartialOrd for CustomIdent
Source§impl<'a> Peek<'a> for CustomIdent
impl<'a> Peek<'a> for CustomIdent
Source§impl ToCursors for CustomIdent
impl ToCursors for CustomIdent
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for CustomIdent
impl Eq for CustomIdent
impl StructuralPartialEq for CustomIdent
Auto Trait Implementations§
impl Freeze for CustomIdent
impl RefUnwindSafe for CustomIdent
impl Send for CustomIdent
impl Sync for CustomIdent
impl Unpin for CustomIdent
impl UnwindSafe for CustomIdent
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