pub struct Slash(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char /. Use T![/] to
refer to this.
Trait Implementations§
impl Copy for Slash
impl Eq for Slash
Source§impl Ord for Slash
impl Ord for Slash
1.21.0 (const: unstable) · 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 PartialOrd for Slash
impl PartialOrd for Slash
Source§impl SemanticEq for Slash
impl SemanticEq for Slash
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.impl StructuralPartialEq for Slash
Source§impl ToCursors for Slash
impl ToCursors for Slash
fn to_cursors(&self, s: &mut impl CursorSink)
Auto Trait Implementations§
impl Freeze for Slash
impl RefUnwindSafe for Slash
impl Send for Slash
impl Sync for Slash
impl Unpin for Slash
impl UnsafeUnpin for Slash
impl UnwindSafe for Slash
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