Struct swc_ecma_ast::TsMappedType[][src]

pub struct TsMappedType {
    pub span: Span,
    pub readonly: Option<TruePlusMinus>,
    pub type_param: TsTypeParam,
    pub name_type: Option<Box<TsType>>,
    pub optional: Option<TruePlusMinus>,
    pub type_ann: Option<Box<TsType>>,
}

Fields

span: Spanreadonly: Option<TruePlusMinus>type_param: TsTypeParamname_type: Option<Box<TsType>>optional: Option<TruePlusMinus>type_ann: Option<Box<TsType>>

Trait Implementations

impl AstNode for TsMappedType[src]

impl Clone for TsMappedType[src]

impl Debug for TsMappedType[src]

impl<'de> Deserialize<'de> for TsMappedType[src]

impl Eq for TsMappedType[src]

impl EqIgnoreSpan for TsMappedType[src]

impl From<TsMappedType> for TsType[src]

impl Hash for TsMappedType[src]

impl PartialEq<TsMappedType> for TsMappedType[src]

impl Serialize for TsMappedType[src]

impl Spanned for TsMappedType[src]

impl StructuralEq for TsMappedType[src]

impl StructuralPartialEq for TsMappedType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.