pub struct JsFunctionExportDefaultDeclarationFields {
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 JsFunctionExportDefaultDeclarationFields
impl RefUnwindSafe for JsFunctionExportDefaultDeclarationFields
impl !Send for JsFunctionExportDefaultDeclarationFields
impl !Sync for JsFunctionExportDefaultDeclarationFields
impl Unpin for JsFunctionExportDefaultDeclarationFields
impl UnwindSafe for JsFunctionExportDefaultDeclarationFields
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