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