Struct swc_xml_ast::Comment
source · pub struct Comment {
pub span: Span,
pub data: JsWord,
pub raw: Option<JsWord>,
}
Fields§
§span: Span
§data: JsWord
§raw: Option<JsWord>
Trait Implementations§
source§impl EqIgnoreSpan for Comment
impl EqIgnoreSpan for Comment
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl PartialEq for Comment
impl PartialEq 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