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§
Source§impl Ord for Slash
impl Ord for Slash
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.Source§impl ToCursors for Slash
impl ToCursors for Slash
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Slash
impl Eq for Slash
impl StructuralPartialEq for Slash
Auto Trait Implementations§
impl Freeze for Slash
impl RefUnwindSafe for Slash
impl Send for Slash
impl Sync for Slash
impl Unpin for Slash
impl UnwindSafe for Slash
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)