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