Struct swc_ecma_ast::TsConstructSignatureDecl
source · [−]pub struct TsConstructSignatureDecl {
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 TsConstructSignatureDecl
impl AstNode for TsConstructSignatureDecl
sourceimpl Clone for TsConstructSignatureDecl
impl Clone for TsConstructSignatureDecl
sourcefn clone(&self) -> TsConstructSignatureDecl
fn clone(&self) -> TsConstructSignatureDecl
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 TsConstructSignatureDecl
impl Debug for TsConstructSignatureDecl
sourceimpl<'de> Deserialize<'de> for TsConstructSignatureDecl
impl<'de> Deserialize<'de> for TsConstructSignatureDecl
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 TsConstructSignatureDecl
impl EqIgnoreSpan for TsConstructSignatureDecl
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsConstructSignatureDecl> for TsTypeElement
impl From<TsConstructSignatureDecl> for TsTypeElement
sourcefn from(v: TsConstructSignatureDecl) -> Self
fn from(v: TsConstructSignatureDecl) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsConstructSignatureDecl
impl Hash for TsConstructSignatureDecl
sourceimpl PartialEq<TsConstructSignatureDecl> for TsConstructSignatureDecl
impl PartialEq<TsConstructSignatureDecl> for TsConstructSignatureDecl
sourcefn eq(&self, other: &TsConstructSignatureDecl) -> bool
fn eq(&self, other: &TsConstructSignatureDecl) -> bool
sourceimpl Serialize for TsConstructSignatureDecl
impl Serialize for TsConstructSignatureDecl
sourceimpl Spanned for TsConstructSignatureDecl
impl Spanned for TsConstructSignatureDecl
impl Eq for TsConstructSignatureDecl
impl StructuralEq for TsConstructSignatureDecl
impl StructuralPartialEq for TsConstructSignatureDecl
Auto Trait Implementations
impl RefUnwindSafe for TsConstructSignatureDecl
impl Send for TsConstructSignatureDecl
impl Sync for TsConstructSignatureDecl
impl Unpin for TsConstructSignatureDecl
impl UnwindSafe for TsConstructSignatureDecl
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