pub struct Bang(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char !. Use T![!] to
refer to this.
Trait Implementations§
Source§impl Ord for Bang
impl Ord for Bang
Source§impl PartialOrd for Bang
impl PartialOrd for Bang
Source§impl SemanticEq for Bang
impl SemanticEq for Bang
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 Bang
impl ToCursors for Bang
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Bang
impl Eq for Bang
impl StructuralPartialEq for Bang
Auto Trait Implementations§
impl Freeze for Bang
impl RefUnwindSafe for Bang
impl Send for Bang
impl Sync for Bang
impl Unpin for Bang
impl UnwindSafe for Bang
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