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