Struct swc_ecma_ast::TsCallSignatureDecl
source · [−]pub struct TsCallSignatureDecl {
pub span: Span,
pub params: Vec<TsFnParam>,
pub type_ann: Option<Box<TsTypeAnn>>,
pub type_params: Option<Box<TsTypeParamDecl>>,
}
Fields
span: Span
params: Vec<TsFnParam>
type_ann: Option<Box<TsTypeAnn>>
type_params: Option<Box<TsTypeParamDecl>>
Trait Implementations
sourceimpl AstNode for TsCallSignatureDecl
impl AstNode for TsCallSignatureDecl
sourceimpl Clone for TsCallSignatureDecl
impl Clone for TsCallSignatureDecl
sourcefn clone(&self) -> TsCallSignatureDecl
fn clone(&self) -> TsCallSignatureDecl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TsCallSignatureDecl
impl Debug for TsCallSignatureDecl
sourceimpl<'de> Deserialize<'de> for TsCallSignatureDecl
impl<'de> Deserialize<'de> for TsCallSignatureDecl
sourcefn 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
sourceimpl EqIgnoreSpan for TsCallSignatureDecl
impl EqIgnoreSpan for TsCallSignatureDecl
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsCallSignatureDecl> for TsTypeElement
impl From<TsCallSignatureDecl> for TsTypeElement
sourcefn from(v: TsCallSignatureDecl) -> Self
fn from(v: TsCallSignatureDecl) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsCallSignatureDecl
impl Hash for TsCallSignatureDecl
sourceimpl PartialEq<TsCallSignatureDecl> for TsCallSignatureDecl
impl PartialEq<TsCallSignatureDecl> for TsCallSignatureDecl
sourcefn eq(&self, other: &TsCallSignatureDecl) -> bool
fn eq(&self, other: &TsCallSignatureDecl) -> bool
sourceimpl Serialize for TsCallSignatureDecl
impl Serialize for TsCallSignatureDecl
sourceimpl Spanned for TsCallSignatureDecl
impl Spanned for TsCallSignatureDecl
impl Eq for TsCallSignatureDecl
impl StructuralEq for TsCallSignatureDecl
impl StructuralPartialEq for TsCallSignatureDecl
Auto Trait Implementations
impl RefUnwindSafe for TsCallSignatureDecl
impl Send for TsCallSignatureDecl
impl Sync for TsCallSignatureDecl
impl Unpin for TsCallSignatureDecl
impl UnwindSafe for TsCallSignatureDecl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more