Struct swc_ecma_ast::OptCall
source · [−]pub struct OptCall {
pub span: Span,
pub callee: Box<Expr>,
pub args: Vec<ExprOrSpread>,
pub type_args: Option<Box<TsTypeParamInstantiation>>,
}
Fields
span: Span
callee: Box<Expr>
args: Vec<ExprOrSpread>
type_args: Option<Box<TsTypeParamInstantiation>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for OptCall
impl<'de> Deserialize<'de> for OptCall
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 OptCall
impl EqIgnoreSpan for OptCall
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<OptCall> for OptChainBase
impl From<OptCall> for OptChainBase
impl Eq for OptCall
impl StructuralEq for OptCall
impl StructuralPartialEq for OptCall
Auto Trait Implementations
impl RefUnwindSafe for OptCall
impl Send for OptCall
impl Sync for OptCall
impl Unpin for OptCall
impl UnwindSafe for OptCall
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