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