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