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