pub struct DashedIdent(/* private fields */);Expand description
Represents a token with Kind::Ident that also begins with two HYPHEN MINUS (--)
characters. Use T![DashedIdent] to refer to this.
Trait Implementations§
Source§impl Clone for DashedIdent
impl Clone for DashedIdent
Source§fn clone(&self) -> DashedIdent
fn clone(&self) -> DashedIdent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DashedIdent
impl Debug for DashedIdent
Source§impl Default for DashedIdent
impl Default for DashedIdent
Source§fn default() -> DashedIdent
fn default() -> DashedIdent
Returns the “default value” for a type. Read more
Source§impl From<DashedIdent> for Cursor
impl From<DashedIdent> for Cursor
Source§fn from(value: DashedIdent) -> Self
fn from(value: DashedIdent) -> Self
Converts to this type from the input type.
Source§impl From<DashedIdent> for Token
impl From<DashedIdent> for Token
Source§fn from(value: DashedIdent) -> Self
fn from(value: DashedIdent) -> Self
Converts to this type from the input type.
Source§impl Hash for DashedIdent
impl Hash for DashedIdent
Source§impl Ord for DashedIdent
impl Ord for DashedIdent
Source§impl<'a> Parse<'a> for DashedIdent
impl<'a> Parse<'a> for DashedIdent
Source§impl PartialEq for DashedIdent
impl PartialEq for DashedIdent
Source§impl PartialOrd for DashedIdent
impl PartialOrd for DashedIdent
Source§impl<'a> Peek<'a> for DashedIdent
impl<'a> Peek<'a> for DashedIdent
Source§impl SemanticEq for DashedIdent
impl SemanticEq for DashedIdent
Source§fn semantic_eq(&self, s: &Self) -> bool
fn semantic_eq(&self, s: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for DashedIdent
impl ToCursors for DashedIdent
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for DashedIdent
impl Eq for DashedIdent
impl StructuralPartialEq for DashedIdent
Auto Trait Implementations§
impl Freeze for DashedIdent
impl RefUnwindSafe for DashedIdent
impl Send for DashedIdent
impl Sync for DashedIdent
impl Unpin for DashedIdent
impl UnwindSafe for DashedIdent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)