Struct swc_ecma_ast::ExprOrSpread
source · [−]Fields
spread: Option<Span>
expr: Box<Expr>
Trait Implementations
sourceimpl Clone for ExprOrSpread
impl Clone for ExprOrSpread
sourcefn clone(&self) -> ExprOrSpread
fn clone(&self) -> ExprOrSpread
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 ExprOrSpread
impl Debug for ExprOrSpread
sourceimpl<'de> Deserialize<'de> for ExprOrSpread
impl<'de> Deserialize<'de> for ExprOrSpread
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 ExprOrSpread
impl EqIgnoreSpan for ExprOrSpread
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<Expr> for ExprOrSpread
impl From<Expr> for ExprOrSpread
sourcefn from(src: Expr) -> ExprOrSpread
fn from(src: Expr) -> ExprOrSpread
Converts to this type from the input type.
sourceimpl Hash for ExprOrSpread
impl Hash for ExprOrSpread
sourceimpl PartialEq<ExprOrSpread> for ExprOrSpread
impl PartialEq<ExprOrSpread> for ExprOrSpread
sourcefn eq(&self, other: &ExprOrSpread) -> bool
fn eq(&self, other: &ExprOrSpread) -> bool
sourceimpl Serialize for ExprOrSpread
impl Serialize for ExprOrSpread
sourceimpl Spanned for ExprOrSpread
impl Spanned for ExprOrSpread
impl Eq for ExprOrSpread
impl StructuralEq for ExprOrSpread
impl StructuralPartialEq for ExprOrSpread
Auto Trait Implementations
impl RefUnwindSafe for ExprOrSpread
impl Send for ExprOrSpread
impl Sync for ExprOrSpread
impl Unpin for ExprOrSpread
impl UnwindSafe for ExprOrSpread
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