Struct swc_ecma_ast::TsMappedType
source · [−]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: Span
readonly: Option<TruePlusMinus>
type_param: TsTypeParam
name_type: Option<Box<TsType>>
optional: Option<TruePlusMinus>
type_ann: Option<Box<TsType>>
Trait Implementations
sourceimpl Clone for TsMappedType
impl Clone for TsMappedType
sourcefn clone(&self) -> TsMappedType
fn clone(&self) -> TsMappedType
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 TsMappedType
impl Debug for TsMappedType
sourceimpl<'de> Deserialize<'de> for TsMappedType
impl<'de> Deserialize<'de> for TsMappedType
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 TsMappedType
impl EqIgnoreSpan for TsMappedType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsMappedType> for TsType
impl From<TsMappedType> for TsType
sourcefn from(v: TsMappedType) -> Self
fn from(v: TsMappedType) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsMappedType
impl Hash for TsMappedType
sourceimpl PartialEq<TsMappedType> for TsMappedType
impl PartialEq<TsMappedType> for TsMappedType
sourcefn eq(&self, other: &TsMappedType) -> bool
fn eq(&self, other: &TsMappedType) -> bool
sourceimpl Serialize for TsMappedType
impl Serialize for TsMappedType
sourceimpl Spanned for TsMappedType
impl Spanned for TsMappedType
impl Eq for TsMappedType
impl StructuralEq for TsMappedType
impl StructuralPartialEq for TsMappedType
Auto Trait Implementations
impl RefUnwindSafe for TsMappedType
impl Send for TsMappedType
impl Sync for TsMappedType
impl Unpin for TsMappedType
impl UnwindSafe for TsMappedType
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