pub struct JsFunctionExpressionFields {
pub async_token: Option<JsSyntaxToken>,
pub function_token: SyntaxResult<JsSyntaxToken>,
pub star_token: Option<JsSyntaxToken>,
pub id: Option<AnyJsBinding>,
pub type_parameters: Option<TsTypeParameters>,
pub parameters: SyntaxResult<JsParameters>,
pub return_type_annotation: Option<TsReturnTypeAnnotation>,
pub body: SyntaxResult<JsFunctionBody>,
}
Fields§
§async_token: Option<JsSyntaxToken>
§function_token: SyntaxResult<JsSyntaxToken>
§star_token: Option<JsSyntaxToken>
§id: Option<AnyJsBinding>
§type_parameters: Option<TsTypeParameters>
§parameters: SyntaxResult<JsParameters>
§return_type_annotation: Option<TsReturnTypeAnnotation>
§body: SyntaxResult<JsFunctionBody>
Auto Trait Implementations§
impl Freeze for JsFunctionExpressionFields
impl RefUnwindSafe for JsFunctionExpressionFields
impl !Send for JsFunctionExpressionFields
impl !Sync for JsFunctionExpressionFields
impl Unpin for JsFunctionExpressionFields
impl UnwindSafe for JsFunctionExpressionFields
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more