Struct swc_ecma_ast::JSXFragment
source · [−]pub struct JSXFragment {
pub span: Span,
pub opening: JSXOpeningFragment,
pub children: Vec<JSXElementChild>,
pub closing: JSXClosingFragment,
}
Fields
span: Span
opening: JSXOpeningFragment
children: Vec<JSXElementChild>
closing: JSXClosingFragment
Trait Implementations
sourceimpl Clone for JSXFragment
impl Clone for JSXFragment
sourcefn clone(&self) -> JSXFragment
fn clone(&self) -> JSXFragment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for JSXFragment
impl Debug for JSXFragment
sourceimpl<'de> Deserialize<'de> for JSXFragment
impl<'de> Deserialize<'de> for JSXFragment
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for JSXFragment
impl EqIgnoreSpan for JSXFragment
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<JSXFragment> for Box<Expr>
impl From<JSXFragment> for Box<Expr>
sourcefn from(src: JSXFragment) -> Box<Expr>
fn from(src: JSXFragment) -> Box<Expr>
Converts to this type from the input type.
sourceimpl From<JSXFragment> for Expr
impl From<JSXFragment> for Expr
sourcefn from(v: JSXFragment) -> Self
fn from(v: JSXFragment) -> Self
Converts to this type from the input type.
sourceimpl From<JSXFragment> for JSXAttrValue
impl From<JSXFragment> for JSXAttrValue
sourcefn from(v: JSXFragment) -> Self
fn from(v: JSXFragment) -> Self
Converts to this type from the input type.
sourceimpl From<JSXFragment> for JSXElementChild
impl From<JSXFragment> for JSXElementChild
sourcefn from(v: JSXFragment) -> Self
fn from(v: JSXFragment) -> Self
Converts to this type from the input type.
sourceimpl From<JSXFragment> for PatOrExpr
impl From<JSXFragment> for PatOrExpr
sourcefn from(src: JSXFragment) -> PatOrExpr
fn from(src: JSXFragment) -> PatOrExpr
Converts to this type from the input type.
sourceimpl Hash for JSXFragment
impl Hash for JSXFragment
sourceimpl PartialEq<JSXFragment> for JSXFragment
impl PartialEq<JSXFragment> for JSXFragment
sourcefn eq(&self, other: &JSXFragment) -> bool
fn eq(&self, other: &JSXFragment) -> bool
sourceimpl Serialize for JSXFragment
impl Serialize for JSXFragment
sourceimpl Spanned for JSXFragment
impl Spanned for JSXFragment
sourceimpl Take for JSXFragment
impl Take for JSXFragment
impl Eq for JSXFragment
impl StructuralEq for JSXFragment
impl StructuralPartialEq for JSXFragment
Auto Trait Implementations
impl RefUnwindSafe for JSXFragment
impl Send for JSXFragment
impl Sync for JSXFragment
impl Unpin for JSXFragment
impl UnwindSafe for JSXFragment
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