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 SemanticEq for Delim
impl SemanticEq for Delim
Source§fn semantic_eq(&self, s: &Self) -> bool
fn semantic_eq(&self, s: &Self) -> bool
Returns
true if self and other are semantically equal.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§
§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)