Enum swc_estree_ast::ArrayExprEl
source · [−]pub enum ArrayExprEl {
Spread(SpreadElement),
Expr(Box<Expression>),
}
Variants
Spread(SpreadElement)
Expr(Box<Expression>)
Trait Implementations
sourceimpl Clone for ArrayExprEl
impl Clone for ArrayExprEl
sourcefn clone(&self) -> ArrayExprEl
fn clone(&self) -> ArrayExprEl
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 ArrayExprEl
impl Debug for ArrayExprEl
sourceimpl<'de> Deserialize<'de> for ArrayExprEl
impl<'de> Deserialize<'de> for ArrayExprEl
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 From<ArrayExprEl> for Arg
impl From<ArrayExprEl> for Arg
sourcefn from(el: ArrayExprEl) -> Self
fn from(el: ArrayExprEl) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ArrayExprEl> for ArrayExprEl
impl PartialEq<ArrayExprEl> for ArrayExprEl
sourcefn eq(&self, other: &ArrayExprEl) -> bool
fn eq(&self, other: &ArrayExprEl) -> bool
sourceimpl Serialize for ArrayExprEl
impl Serialize for ArrayExprEl
impl StructuralPartialEq for ArrayExprEl
Auto Trait Implementations
impl RefUnwindSafe for ArrayExprEl
impl Send for ArrayExprEl
impl Sync for ArrayExprEl
impl Unpin for ArrayExprEl
impl UnwindSafe for ArrayExprEl
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