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