pub struct DollarEqual(pub Delim, pub Delim);
Expand description
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any
other token. The first token has the char $
while the second has the char =
, representing $=
. Use
T![$=] to refer to this.
Tuple Fields§
§0: Delim
§1: Delim
Implementations§
Source§impl DollarEqual
impl DollarEqual
Trait Implementations§
Source§impl Clone for DollarEqual
impl Clone for DollarEqual
Source§fn clone(&self) -> DollarEqual
fn clone(&self) -> DollarEqual
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 DollarEqual
impl Debug for DollarEqual
Source§impl Hash for DollarEqual
impl Hash for DollarEqual
Source§impl Ord for DollarEqual
impl Ord for DollarEqual
Source§fn cmp(&self, other: &DollarEqual) -> Ordering
fn cmp(&self, other: &DollarEqual) -> 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 DollarEqual
impl<'a> Parse<'a> for DollarEqual
Source§impl PartialEq for DollarEqual
impl PartialEq for DollarEqual
Source§impl PartialOrd for DollarEqual
impl PartialOrd for DollarEqual
Source§impl<'a> Peek<'a> for DollarEqual
impl<'a> Peek<'a> for DollarEqual
Source§impl<'a> ToCursors for DollarEqual
impl<'a> ToCursors for DollarEqual
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for DollarEqual
impl Eq for DollarEqual
impl StructuralPartialEq for DollarEqual
Auto Trait Implementations§
impl Freeze for DollarEqual
impl RefUnwindSafe for DollarEqual
impl Send for DollarEqual
impl Sync for DollarEqual
impl Unpin for DollarEqual
impl UnwindSafe for DollarEqual
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