Struct swc_ecma_ast::TsConstructorType [−][src]
pub struct TsConstructorType { pub span: Span, pub params: Vec<TsFnParam>, pub type_params: Option<TsTypeParamDecl>, pub type_ann: TsTypeAnn, pub is_abstract: bool, }
Fields
span: Span
params: Vec<TsFnParam>
type_params: Option<TsTypeParamDecl>
type_ann: TsTypeAnn
is_abstract: bool
Trait Implementations
impl Clone for TsConstructorType
[src]
impl Clone for TsConstructorType
[src]fn clone(&self) -> TsConstructorType
[src]
fn clone(&self) -> TsConstructorType
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TsConstructorType
[src]
impl Debug for TsConstructorType
[src]impl<'de> Deserialize<'de> for TsConstructorType
[src]
impl<'de> Deserialize<'de> for TsConstructorType
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl EqIgnoreSpan for TsConstructorType
[src]
impl EqIgnoreSpan for TsConstructorType
[src]fn eq_ignore_span(&self, other: &Self) -> bool
[src]
impl From<TsConstructorType> for TsFnOrConstructorType
[src]
impl From<TsConstructorType> for TsFnOrConstructorType
[src]fn from(v: TsConstructorType) -> Self
[src]
fn from(v: TsConstructorType) -> Self
[src]Performs the conversion.
impl From<TsConstructorType> for TsType
[src]
impl From<TsConstructorType> for TsType
[src]fn from(t: TsConstructorType) -> Self
[src]
fn from(t: TsConstructorType) -> Self
[src]Performs the conversion.
impl Hash for TsConstructorType
[src]
impl Hash for TsConstructorType
[src]impl PartialEq<TsConstructorType> for TsConstructorType
[src]
impl PartialEq<TsConstructorType> for TsConstructorType
[src]fn eq(&self, other: &TsConstructorType) -> bool
[src]
fn eq(&self, other: &TsConstructorType) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TsConstructorType) -> bool
[src]
fn ne(&self, other: &TsConstructorType) -> bool
[src]This method tests for !=
.
impl Serialize for TsConstructorType
[src]
impl Serialize for TsConstructorType
[src]impl Eq for TsConstructorType
[src]
impl StructuralEq for TsConstructorType
[src]
impl StructuralPartialEq for TsConstructorType
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,