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