pub struct EqualEqual(_, 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§
§1: DelimImplementations§
Source§impl EqualEqual
impl EqualEqual
Trait Implementations§
Source§impl Clone for EqualEqual
impl Clone for EqualEqual
Source§fn clone(&self) -> EqualEqual
fn clone(&self) -> EqualEqual
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 EqualEqual
impl Debug for EqualEqual
Source§impl Hash for EqualEqual
impl Hash for EqualEqual
Source§impl Ord for EqualEqual
impl Ord for EqualEqual
Source§fn cmp(&self, other: &EqualEqual) -> Ordering
fn cmp(&self, other: &EqualEqual) -> 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 EqualEqual
impl<'a> Parse<'a> for EqualEqual
Source§impl PartialEq for EqualEqual
impl PartialEq for EqualEqual
Source§impl PartialOrd for EqualEqual
impl PartialOrd for EqualEqual
Source§impl<'a> Peek<'a> for EqualEqual
impl<'a> Peek<'a> for EqualEqual
Source§impl SemanticEq for EqualEqual
impl SemanticEq for EqualEqual
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<'a> ToCursors for EqualEqual
impl<'a> ToCursors for EqualEqual
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for EqualEqual
impl Eq for EqualEqual
impl StructuralPartialEq for EqualEqual
Auto Trait Implementations§
impl Freeze for EqualEqual
impl RefUnwindSafe for EqualEqual
impl Send for EqualEqual
impl Sync for EqualEqual
impl Unpin for EqualEqual
impl UnwindSafe for EqualEqual
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