Struct swc_ecma_ast::ArrowExpr [−][src]
pub struct ArrowExpr { pub span: Span, pub params: Vec<Pat>, pub body: BlockStmtOrExpr, pub is_async: bool, pub is_generator: bool, pub type_params: Option<TsTypeParamDecl>, pub return_type: Option<TsTypeAnn>, }
Fields
span: Span
params: Vec<Pat>
body: BlockStmtOrExpr
is_async: bool
is_generator: bool
type_params: Option<TsTypeParamDecl>
return_type: Option<TsTypeAnn>
Trait Implementations
impl<'de> Deserialize<'de> for ArrowExpr
[src]
impl<'de> Deserialize<'de> for ArrowExpr
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl EqIgnoreSpan for ArrowExpr
[src]
impl EqIgnoreSpan for ArrowExpr
[src]fn eq_ignore_span(&self, other: &Self) -> bool
[src]
impl Eq for ArrowExpr
[src]
impl StructuralEq for ArrowExpr
[src]
impl StructuralPartialEq for ArrowExpr
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArrowExpr
impl Send for ArrowExpr
impl Sync for ArrowExpr
impl Unpin for ArrowExpr
impl UnwindSafe for ArrowExpr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,