[−][src]Enum swc_ecma_ast::TsType
Variants
TsKeywordType(TsKeywordType)
TsThisType(TsThisType)
TsFnOrConstructorType(TsFnOrConstructorType)
TsTypeRef(TsTypeRef)
TsTypeQuery(TsTypeQuery)
TsTypeLit(TsTypeLit)
TsArrayType(TsArrayType)
TsTupleType(TsTupleType)
TsOptionalType(TsOptionalType)
TsRestType(TsRestType)
TsUnionOrIntersectionType(TsUnionOrIntersectionType)
TsConditionalType(TsConditionalType)
TsInferType(TsInferType)
TsParenthesizedType(TsParenthesizedType)
TsTypeOperator(TsTypeOperator)
TsIndexedAccessType(TsIndexedAccessType)
TsMappedType(TsMappedType)
TsLitType(TsLitType)
TsTypePredicate(TsTypePredicate)
Trait Implementations
impl PartialEq<TsType> for TsType
[src]
impl Clone for TsType
[src]
fn clone(&self) -> TsType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<TsKeywordType> for TsType
[src]
fn from(v: TsKeywordType) -> Self
[src]
impl From<TsThisType> for TsType
[src]
fn from(v: TsThisType) -> Self
[src]
impl From<TsFnOrConstructorType> for TsType
[src]
fn from(v: TsFnOrConstructorType) -> Self
[src]
impl From<TsTypeRef> for TsType
[src]
impl From<TsTypeQuery> for TsType
[src]
fn from(v: TsTypeQuery) -> Self
[src]
impl From<TsTypeLit> for TsType
[src]
impl From<TsArrayType> for TsType
[src]
fn from(v: TsArrayType) -> Self
[src]
impl From<TsTupleType> for TsType
[src]
fn from(v: TsTupleType) -> Self
[src]
impl From<TsOptionalType> for TsType
[src]
fn from(v: TsOptionalType) -> Self
[src]
impl From<TsRestType> for TsType
[src]
fn from(v: TsRestType) -> Self
[src]
impl From<TsUnionOrIntersectionType> for TsType
[src]
fn from(v: TsUnionOrIntersectionType) -> Self
[src]
impl From<TsConditionalType> for TsType
[src]
fn from(v: TsConditionalType) -> Self
[src]
impl From<TsInferType> for TsType
[src]
fn from(v: TsInferType) -> Self
[src]
impl From<TsParenthesizedType> for TsType
[src]
fn from(v: TsParenthesizedType) -> Self
[src]
impl From<TsTypeOperator> for TsType
[src]
fn from(v: TsTypeOperator) -> Self
[src]
impl From<TsIndexedAccessType> for TsType
[src]
fn from(v: TsIndexedAccessType) -> Self
[src]
impl From<TsMappedType> for TsType
[src]
fn from(v: TsMappedType) -> Self
[src]
impl From<TsLitType> for TsType
[src]
impl From<TsTypePredicate> for TsType
[src]
fn from(v: TsTypePredicate) -> Self
[src]
impl From<TsFnType> for TsType
[src]
impl From<TsConstructorType> for TsType
[src]
fn from(t: TsConstructorType) -> Self
[src]
impl From<TsUnionType> for TsType
[src]
fn from(t: TsUnionType) -> Self
[src]
impl From<TsIntersectionType> for TsType
[src]
fn from(t: TsIntersectionType) -> Self
[src]
impl Debug for TsType
[src]
impl Serialize for TsType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for TsType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Spanned for TsType
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,