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