Struct swc_ecma_ast::TsMethodSignature [−][src]
pub struct TsMethodSignature { pub span: Span, pub readonly: bool, pub key: Box<Expr>, pub computed: bool, pub optional: bool, pub params: Vec<TsFnParam>, pub type_ann: Option<TsTypeAnn>, pub type_params: Option<TsTypeParamDecl>, }
Fields
span: Span
readonly: bool
key: Box<Expr>
computed: bool
optional: bool
params: Vec<TsFnParam>
type_ann: Option<TsTypeAnn>
type_params: Option<TsTypeParamDecl>
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
Performs the conversion.
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 TsMethodSignature
impl Send for TsMethodSignature
impl Sync for TsMethodSignature
impl Unpin for TsMethodSignature
impl UnwindSafe for TsMethodSignature
Blanket Implementations
Mutably borrows from an owned value. Read more