pub enum RTsUnionOrIntersectionType {
TsUnionType(RTsUnionType),
TsIntersectionType(RTsIntersectionType),
}
Variants
TsUnionType(RTsUnionType)
TsIntersectionType(RTsIntersectionType)
Trait Implementations
sourceimpl Clone for RTsUnionOrIntersectionType
impl Clone for RTsUnionOrIntersectionType
sourcefn clone(&self) -> RTsUnionOrIntersectionType
fn clone(&self) -> RTsUnionOrIntersectionType
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 RTsUnionOrIntersectionType
impl Debug for RTsUnionOrIntersectionType
sourceimpl<'de> Deserialize<'de> for RTsUnionOrIntersectionType
impl<'de> Deserialize<'de> for RTsUnionOrIntersectionType
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 RTsUnionOrIntersectionType
impl EqIgnoreSpan for RTsUnionOrIntersectionType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl<V> FoldWith<V> for RTsUnionOrIntersectionTypewhere
V: ?Sized,
impl<V> FoldWith<V> for RTsUnionOrIntersectionTypewhere
V: ?Sized,
sourceimpl From<RTsIntersectionType> for RTsUnionOrIntersectionType
impl From<RTsIntersectionType> for RTsUnionOrIntersectionType
sourcefn from(v: RTsIntersectionType) -> Self
fn from(v: RTsIntersectionType) -> 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 From<RTsUnionType> for RTsUnionOrIntersectionType
impl From<RTsUnionType> for RTsUnionOrIntersectionType
sourcefn from(v: RTsUnionType) -> Self
fn from(v: RTsUnionType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RTsUnionOrIntersectionType> for RTsUnionOrIntersectionType
impl PartialEq<RTsUnionOrIntersectionType> for RTsUnionOrIntersectionType
sourcefn eq(&self, other: &RTsUnionOrIntersectionType) -> bool
fn eq(&self, other: &RTsUnionOrIntersectionType) -> bool
sourceimpl RNode for RTsUnionOrIntersectionType
impl RNode for RTsUnionOrIntersectionType
type Orig = TsUnionOrIntersectionType
fn from_orig(id_gen: &mut NodeIdGenerator, orig: Self::Orig) -> Self
fn into_orig(self) -> Self::Orig
sourceimpl Spanned for RTsUnionOrIntersectionType
impl Spanned for RTsUnionOrIntersectionType
sourceimpl<V> VisitMutWith<V> for RTsUnionOrIntersectionTypewhere
V: ?Sized,
impl<V> VisitMutWith<V> for RTsUnionOrIntersectionTypewhere
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 RTsUnionOrIntersectionTypewhere
V: ?Sized,
impl<V> VisitWith<V> for RTsUnionOrIntersectionTypewhere
V: ?Sized,
fn visit_children_with(&self, _visitor: &mut V)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl StructuralPartialEq for RTsUnionOrIntersectionType
impl Visitable for RTsUnionOrIntersectionType
Auto Trait Implementations
impl RefUnwindSafe for RTsUnionOrIntersectionType
impl Send for RTsUnionOrIntersectionType
impl Sync for RTsUnionOrIntersectionType
impl Unpin for RTsUnionOrIntersectionType
impl UnwindSafe for RTsUnionOrIntersectionType
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.