pub struct JsFunctionDeclarationFields {
pub async_token: Option<JsSyntaxToken>,
pub function_token: SyntaxResult<JsSyntaxToken>,
pub star_token: Option<JsSyntaxToken>,
pub id: SyntaxResult<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: SyntaxResult<AnyJsBinding>
§type_parameters: Option<TsTypeParameters>
§parameters: SyntaxResult<JsParameters>
§return_type_annotation: Option<TsReturnTypeAnnotation>
§body: SyntaxResult<JsFunctionBody>
Auto Trait Implementations§
impl Freeze for JsFunctionDeclarationFields
impl RefUnwindSafe for JsFunctionDeclarationFields
impl !Send for JsFunctionDeclarationFields
impl !Sync for JsFunctionDeclarationFields
impl Unpin for JsFunctionDeclarationFields
impl UnwindSafe for JsFunctionDeclarationFields
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