Struct swc_common::comments::Comment
source · [−]pub struct Comment {
pub kind: CommentKind,
pub span: Span,
pub text: Atom,
}
Fields
kind: CommentKind
span: Span
text: Atom
[Atom::new_bad
][] is perfectly fine for this value.
Trait Implementations
impl Eq for Comment
impl StructuralEq for Comment
impl StructuralPartialEq for Comment
Auto Trait Implementations
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more