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