Enum stc_ts_ast_rnode::RTsType
source · [−]pub enum RTsType {
Show 20 variants
TsKeywordType(RTsKeywordType),
TsThisType(RTsThisType),
TsFnOrConstructorType(RTsFnOrConstructorType),
TsTypeRef(RTsTypeRef),
TsTypeQuery(RTsTypeQuery),
TsTypeLit(RTsTypeLit),
TsArrayType(RTsArrayType),
TsTupleType(RTsTupleType),
TsOptionalType(RTsOptionalType),
TsRestType(RTsRestType),
TsUnionOrIntersectionType(RTsUnionOrIntersectionType),
TsConditionalType(RTsConditionalType),
TsInferType(RTsInferType),
TsParenthesizedType(RTsParenthesizedType),
TsTypeOperator(RTsTypeOperator),
TsIndexedAccessType(RTsIndexedAccessType),
TsMappedType(RTsMappedType),
TsLitType(RTsLitType),
TsTypePredicate(RTsTypePredicate),
TsImportType(RTsImportType),
}
Variants
TsKeywordType(RTsKeywordType)
TsThisType(RTsThisType)
TsFnOrConstructorType(RTsFnOrConstructorType)
TsTypeRef(RTsTypeRef)
TsTypeQuery(RTsTypeQuery)
TsTypeLit(RTsTypeLit)
TsArrayType(RTsArrayType)
TsTupleType(RTsTupleType)
TsOptionalType(RTsOptionalType)
TsRestType(RTsRestType)
TsUnionOrIntersectionType(RTsUnionOrIntersectionType)
TsConditionalType(RTsConditionalType)
TsInferType(RTsInferType)
TsParenthesizedType(RTsParenthesizedType)
TsTypeOperator(RTsTypeOperator)
TsIndexedAccessType(RTsIndexedAccessType)
TsMappedType(RTsMappedType)
TsLitType(RTsLitType)
TsTypePredicate(RTsTypePredicate)
TsImportType(RTsImportType)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RTsType
impl<'de> Deserialize<'de> for RTsType
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 RTsType
impl EqIgnoreSpan for RTsType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<RTsArrayType> for RTsType
impl From<RTsArrayType> for RTsType
sourcefn from(v: RTsArrayType) -> Self
fn from(v: RTsArrayType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsConditionalType> for RTsType
impl From<RTsConditionalType> for RTsType
sourcefn from(v: RTsConditionalType) -> Self
fn from(v: RTsConditionalType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsFnOrConstructorType> for RTsType
impl From<RTsFnOrConstructorType> for RTsType
sourcefn from(v: RTsFnOrConstructorType) -> Self
fn from(v: RTsFnOrConstructorType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsImportType> for RTsType
impl From<RTsImportType> for RTsType
sourcefn from(v: RTsImportType) -> Self
fn from(v: RTsImportType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsIndexedAccessType> for RTsType
impl From<RTsIndexedAccessType> for RTsType
sourcefn from(v: RTsIndexedAccessType) -> Self
fn from(v: RTsIndexedAccessType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsInferType> for RTsType
impl From<RTsInferType> for RTsType
sourcefn from(v: RTsInferType) -> Self
fn from(v: RTsInferType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsKeywordType> for RTsType
impl From<RTsKeywordType> for RTsType
sourcefn from(v: RTsKeywordType) -> Self
fn from(v: RTsKeywordType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsLitType> for RTsType
impl From<RTsLitType> for RTsType
sourcefn from(v: RTsLitType) -> Self
fn from(v: RTsLitType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsMappedType> for RTsType
impl From<RTsMappedType> for RTsType
sourcefn from(v: RTsMappedType) -> Self
fn from(v: RTsMappedType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsOptionalType> for RTsType
impl From<RTsOptionalType> for RTsType
sourcefn from(v: RTsOptionalType) -> Self
fn from(v: RTsOptionalType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsParenthesizedType> for RTsType
impl From<RTsParenthesizedType> for RTsType
sourcefn from(v: RTsParenthesizedType) -> Self
fn from(v: RTsParenthesizedType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsRestType> for RTsType
impl From<RTsRestType> for RTsType
sourcefn from(v: RTsRestType) -> Self
fn from(v: RTsRestType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsThisType> for RTsType
impl From<RTsThisType> for RTsType
sourcefn from(v: RTsThisType) -> Self
fn from(v: RTsThisType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsTupleType> for RTsType
impl From<RTsTupleType> for RTsType
sourcefn from(v: RTsTupleType) -> Self
fn from(v: RTsTupleType) -> Self
Converts to this type from the input type.
sourceimpl From<RTsTypeLit> for RTsType
impl From<RTsTypeLit> for RTsType
sourcefn from(v: RTsTypeLit) -> Self
fn from(v: RTsTypeLit) -> Self
Converts to this type from the input type.
sourceimpl From<RTsTypeOperator> for RTsType
impl From<RTsTypeOperator> for RTsType
sourcefn from(v: RTsTypeOperator) -> Self
fn from(v: RTsTypeOperator) -> Self
Converts to this type from the input type.
sourceimpl From<RTsTypePredicate> for RTsType
impl From<RTsTypePredicate> for RTsType
sourcefn from(v: RTsTypePredicate) -> Self
fn from(v: RTsTypePredicate) -> Self
Converts to this type from the input type.
sourceimpl From<RTsTypeQuery> for RTsType
impl From<RTsTypeQuery> for RTsType
sourcefn from(v: RTsTypeQuery) -> Self
fn from(v: RTsTypeQuery) -> Self
Converts to this type from the input type.
sourceimpl From<RTsTypeRef> for RTsType
impl From<RTsTypeRef> for RTsType
sourcefn from(v: RTsTypeRef) -> Self
fn from(v: RTsTypeRef) -> Self
Converts to this type from the input type.
sourceimpl From<RTsUnionOrIntersectionType> for RTsType
impl From<RTsUnionOrIntersectionType> for RTsType
sourcefn from(v: RTsUnionOrIntersectionType) -> Self
fn from(v: RTsUnionOrIntersectionType) -> Self
Converts to this type from the input type.
sourceimpl<V> VisitMutWith<V> for RTsTypewhere
V: ?Sized,
impl<V> VisitMutWith<V> for RTsTypewhere
V: ?Sized,
fn visit_mut_children_with(&mut self, _visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<V> VisitWith<V> for RTsTypewhere
V: ?Sized,
impl<V> VisitWith<V> for RTsTypewhere
V: ?Sized,
fn visit_children_with(&self, _visitor: &mut V)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl StructuralPartialEq for RTsType
impl Visitable for RTsType
Auto Trait Implementations
impl RefUnwindSafe for RTsType
impl Send for RTsType
impl Sync for RTsType
impl Unpin for RTsType
impl UnwindSafe for RTsType
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<R, N> IntoRNode<R> for Nwhere
R: RNode<Orig = N>,
impl<R, N> IntoRNode<R> for Nwhere
R: RNode<Orig = N>,
fn into_rnode(self, g: &mut NodeIdGenerator) -> R
sourceimpl<T> SpanExt for Twhere
T: Spanned,
impl<T> SpanExt for Twhere
T: Spanned,
fn is_synthesized(&self) -> bool
fn starts_on_new_line(&self, format: ListFormat) -> bool
sourcefn comment_range(&self) -> Span
fn comment_range(&self) -> Span
Gets a custom text range to use when emitting comments.