Struct swc_ecma_ast::TsConstructorType
source · [−]pub struct TsConstructorType {
pub span: Span,
pub params: Vec<TsFnParam>,
pub type_params: Option<Box<TsTypeParamDecl>>,
pub type_ann: Box<TsTypeAnn>,
pub is_abstract: bool,
}
Fields
span: Span
params: Vec<TsFnParam>
type_params: Option<Box<TsTypeParamDecl>>
type_ann: Box<TsTypeAnn>
is_abstract: bool
Trait Implementations
sourceimpl Clone for TsConstructorType
impl Clone for TsConstructorType
sourcefn clone(&self) -> TsConstructorType
fn clone(&self) -> TsConstructorType
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 TsConstructorType
impl Debug for TsConstructorType
sourceimpl<'de> Deserialize<'de> for TsConstructorType
impl<'de> Deserialize<'de> for TsConstructorType
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 TsConstructorType
impl EqIgnoreSpan for TsConstructorType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsConstructorType> for TsFnOrConstructorType
impl From<TsConstructorType> for TsFnOrConstructorType
sourcefn from(v: TsConstructorType) -> Self
fn from(v: TsConstructorType) -> Self
Converts to this type from the input type.
sourceimpl From<TsConstructorType> for TsType
impl From<TsConstructorType> for TsType
sourcefn from(t: TsConstructorType) -> Self
fn from(t: TsConstructorType) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsConstructorType
impl Hash for TsConstructorType
sourceimpl PartialEq<TsConstructorType> for TsConstructorType
impl PartialEq<TsConstructorType> for TsConstructorType
sourcefn eq(&self, other: &TsConstructorType) -> bool
fn eq(&self, other: &TsConstructorType) -> bool
sourceimpl Serialize for TsConstructorType
impl Serialize for TsConstructorType
sourceimpl Spanned for TsConstructorType
impl Spanned for TsConstructorType
impl Eq for TsConstructorType
impl StructuralEq for TsConstructorType
impl StructuralPartialEq for TsConstructorType
Auto Trait Implementations
impl RefUnwindSafe for TsConstructorType
impl Send for TsConstructorType
impl Sync for TsConstructorType
impl Unpin for TsConstructorType
impl UnwindSafe for TsConstructorType
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