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