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