Struct swc_estree_ast::TSDeclareMethod [−][src]
pub struct TSDeclareMethod {Show 15 fields
pub base: BaseNode,
pub decorators: Option<Vec<Decorator>>,
pub key: ObjectKey,
pub type_parameters: Option<TSFuncDeclTypeParams>,
pub params: Vec<Param>,
pub return_type: Option<TSFuncDeclTypeAnnot>,
pub is_abstract: Option<bool>,
pub access: Option<Access>,
pub accessibility: Option<Access>,
pub is_async: Option<bool>,
pub computed: Option<bool>,
pub generator: Option<bool>,
pub kind: Option<ClassMethodKind>,
pub optional: Option<bool>,
pub is_static: Option<bool>,
}
Fields
base: BaseNode
decorators: Option<Vec<Decorator>>
key: ObjectKey
type_parameters: Option<TSFuncDeclTypeParams>
params: Vec<Param>
return_type: Option<TSFuncDeclTypeAnnot>
is_abstract: Option<bool>
access: Option<Access>
accessibility: Option<Access>
is_async: Option<bool>
computed: Option<bool>
generator: Option<bool>
kind: Option<ClassMethodKind>
optional: Option<bool>
is_static: Option<bool>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TSDeclareMethod
impl Send for TSDeclareMethod
impl Sync for TSDeclareMethod
impl Unpin for TSDeclareMethod
impl UnwindSafe for TSDeclareMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more