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