Struct swc_ecma_ast::TsTupleElement
source · [−]Fields
span: Span
label: Option<Pat>
Ident
or RestPat { arg: Ident }
ty: Box<TsType>
Trait Implementations
sourceimpl Clone for TsTupleElement
impl Clone for TsTupleElement
sourcefn clone(&self) -> TsTupleElement
fn clone(&self) -> TsTupleElement
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 TsTupleElement
impl Debug for TsTupleElement
sourceimpl<'de> Deserialize<'de> for TsTupleElement
impl<'de> Deserialize<'de> for TsTupleElement
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 TsTupleElement
impl EqIgnoreSpan for TsTupleElement
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for TsTupleElement
impl Hash for TsTupleElement
sourceimpl PartialEq<TsTupleElement> for TsTupleElement
impl PartialEq<TsTupleElement> for TsTupleElement
sourcefn eq(&self, other: &TsTupleElement) -> bool
fn eq(&self, other: &TsTupleElement) -> bool
sourceimpl Serialize for TsTupleElement
impl Serialize for TsTupleElement
sourceimpl Spanned for TsTupleElement
impl Spanned for TsTupleElement
impl Eq for TsTupleElement
impl StructuralEq for TsTupleElement
impl StructuralPartialEq for TsTupleElement
Auto Trait Implementations
impl RefUnwindSafe for TsTupleElement
impl Send for TsTupleElement
impl Sync for TsTupleElement
impl Unpin for TsTupleElement
impl UnwindSafe for TsTupleElement
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