pub struct Underscore(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char _. Use T![_] to
refer to this.
Trait Implementations§
Source§impl Clone for Underscore
impl Clone for Underscore
Source§fn clone(&self) -> Underscore
fn clone(&self) -> Underscore
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 Underscore
impl Debug for Underscore
Source§impl Default for Underscore
impl Default for Underscore
Source§fn default() -> Underscore
fn default() -> Underscore
Returns the “default value” for a type. Read more
Source§impl From<Underscore> for Cursor
impl From<Underscore> for Cursor
Source§fn from(value: Underscore) -> Self
fn from(value: Underscore) -> Self
Converts to this type from the input type.
Source§impl Hash for Underscore
impl Hash for Underscore
Source§impl Ord for Underscore
impl Ord for Underscore
Source§fn cmp(&self, other: &Underscore) -> Ordering
fn cmp(&self, other: &Underscore) -> 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 Underscore
impl<'a> Parse<'a> for Underscore
Source§impl PartialEq<char> for Underscore
impl PartialEq<char> for Underscore
Source§impl PartialEq for Underscore
impl PartialEq for Underscore
Source§impl PartialOrd for Underscore
impl PartialOrd for Underscore
Source§impl<'a> Peek<'a> for Underscore
impl<'a> Peek<'a> for Underscore
Source§impl SemanticEq for Underscore
impl SemanticEq for Underscore
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for Underscore
impl ToCursors for Underscore
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Underscore
impl Eq for Underscore
impl StructuralPartialEq for Underscore
Auto Trait Implementations§
impl Freeze for Underscore
impl RefUnwindSafe for Underscore
impl Send for Underscore
impl Sync for Underscore
impl Unpin for Underscore
impl UnwindSafe for Underscore
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