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