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