Struct swc_xml_ast::Text
source · pub struct Text {
pub span: Span,
pub data: JsWord,
pub raw: Option<JsWord>,
}
Fields§
§span: Span
§data: JsWord
§raw: Option<JsWord>
Trait Implementations§
source§impl EqIgnoreSpan for Text
impl EqIgnoreSpan for Text
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl PartialEq for Text
impl PartialEq for Text
impl Eq for Text
impl StructuralPartialEq for Text
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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