pub struct Comment<'input> {
pub span: Span,
pub kind: CommentKind,
pub content: &'input str,
}Fields§
§span: Span§kind: CommentKind§content: &'input strTrait Implementations§
impl<'input> Copy for Comment<'input>
impl<'input> Eq for Comment<'input>
impl<'input> StructuralPartialEq for Comment<'input>
Auto Trait Implementations§
impl<'input> Freeze for Comment<'input>
impl<'input> RefUnwindSafe for Comment<'input>
impl<'input> Send for Comment<'input>
impl<'input> Sync for Comment<'input>
impl<'input> Unpin for Comment<'input>
impl<'input> UnwindSafe for Comment<'input>
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