pub struct BangEqual(_, 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§
Trait Implementations§
Source§impl Ord for BangEqual
impl Ord for BangEqual
Source§impl PartialOrd for BangEqual
impl PartialOrd for BangEqual
Source§impl SemanticEq for BangEqual
impl SemanticEq for BangEqual
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 BangEqual
impl<'a> ToCursors for BangEqual
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for BangEqual
impl Eq for BangEqual
impl StructuralPartialEq for BangEqual
Auto Trait Implementations§
impl Freeze for BangEqual
impl RefUnwindSafe for BangEqual
impl Send for BangEqual
impl Sync for BangEqual
impl Unpin for BangEqual
impl UnwindSafe for BangEqual
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