Struct swc_ecma_ast::TsTypeRef
source · [−]pub struct TsTypeRef {
pub span: Span,
pub type_name: TsEntityName,
pub type_params: Option<Box<TsTypeParamInstantiation>>,
}
Fields
span: Span
type_name: TsEntityName
type_params: Option<Box<TsTypeParamInstantiation>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TsTypeRef
impl<'de> Deserialize<'de> for TsTypeRef
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 TsTypeRef
impl EqIgnoreSpan for TsTypeRef
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for TsTypeRef
impl StructuralEq for TsTypeRef
impl StructuralPartialEq for TsTypeRef
Auto Trait Implementations
impl RefUnwindSafe for TsTypeRef
impl Send for TsTypeRef
impl Sync for TsTypeRef
impl Unpin for TsTypeRef
impl UnwindSafe for TsTypeRef
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