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