Enum swc_ecma_ast::JSXElementChild
source · [−]pub enum JSXElementChild {
JSXText(JSXText),
JSXExprContainer(JSXExprContainer),
JSXSpreadChild(JSXSpreadChild),
JSXElement(Box<JSXElement>),
JSXFragment(JSXFragment),
}
Variants
JSXText(JSXText)
JSXExprContainer(JSXExprContainer)
JSXSpreadChild(JSXSpreadChild)
JSXElement(Box<JSXElement>)
JSXFragment(JSXFragment)
Trait Implementations
sourceimpl Clone for JSXElementChild
impl Clone for JSXElementChild
sourcefn clone(&self) -> JSXElementChild
fn clone(&self) -> JSXElementChild
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 JSXElementChild
impl Debug for JSXElementChild
sourceimpl<'de> Deserialize<'de> for JSXElementChild
impl<'de> Deserialize<'de> for JSXElementChild
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 JSXElementChild
impl EqIgnoreSpan for JSXElementChild
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<Box<JSXElement, Global>> for JSXElementChild
impl From<Box<JSXElement, Global>> for JSXElementChild
sourcefn from(v: Box<JSXElement>) -> Self
fn from(v: Box<JSXElement>) -> Self
Converts to this type from the input type.
sourceimpl From<JSXExprContainer> for JSXElementChild
impl From<JSXExprContainer> for JSXElementChild
sourcefn from(v: JSXExprContainer) -> Self
fn from(v: JSXExprContainer) -> 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<JSXSpreadChild> for JSXElementChild
impl From<JSXSpreadChild> for JSXElementChild
sourcefn from(v: JSXSpreadChild) -> Self
fn from(v: JSXSpreadChild) -> Self
Converts to this type from the input type.
sourceimpl From<JSXText> for JSXElementChild
impl From<JSXText> for JSXElementChild
sourceimpl Hash for JSXElementChild
impl Hash for JSXElementChild
sourceimpl PartialEq<JSXElementChild> for JSXElementChild
impl PartialEq<JSXElementChild> for JSXElementChild
sourcefn eq(&self, other: &JSXElementChild) -> bool
fn eq(&self, other: &JSXElementChild) -> bool
sourceimpl Serialize for JSXElementChild
impl Serialize for JSXElementChild
sourceimpl Spanned for JSXElementChild
impl Spanned for JSXElementChild
impl Eq for JSXElementChild
impl StructuralEq for JSXElementChild
impl StructuralPartialEq for JSXElementChild
Auto Trait Implementations
impl RefUnwindSafe for JSXElementChild
impl Send for JSXElementChild
impl Sync for JSXElementChild
impl Unpin for JSXElementChild
impl UnwindSafe for JSXElementChild
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