Struct swc_ecma_ast::JSXElement
source · [−]pub struct JSXElement {
pub span: Span,
pub opening: JSXOpeningElement,
pub children: Vec<JSXElementChild>,
pub closing: Option<JSXClosingElement>,
}
Fields
span: Span
opening: JSXOpeningElement
children: Vec<JSXElementChild>
closing: Option<JSXClosingElement>
Trait Implementations
sourceimpl Clone for JSXElement
impl Clone for JSXElement
sourcefn clone(&self) -> JSXElement
fn clone(&self) -> JSXElement
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 JSXElement
impl Debug for JSXElement
sourceimpl<'de> Deserialize<'de> for JSXElement
impl<'de> Deserialize<'de> for JSXElement
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 JSXElement
impl EqIgnoreSpan for JSXElement
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for JSXElement
impl Hash for JSXElement
sourceimpl PartialEq<JSXElement> for JSXElement
impl PartialEq<JSXElement> for JSXElement
sourcefn eq(&self, other: &JSXElement) -> bool
fn eq(&self, other: &JSXElement) -> bool
sourceimpl Serialize for JSXElement
impl Serialize for JSXElement
sourceimpl Spanned for JSXElement
impl Spanned for JSXElement
sourceimpl Take for JSXElement
impl Take for JSXElement
impl Eq for JSXElement
impl StructuralEq for JSXElement
impl StructuralPartialEq for JSXElement
Auto Trait Implementations
impl RefUnwindSafe for JSXElement
impl Send for JSXElement
impl Sync for JSXElement
impl Unpin for JSXElement
impl UnwindSafe for JSXElement
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