[][src]Struct swc_ecma_ast::RestPat

pub struct RestPat {
    pub span: Span,
    pub dot3_token: Span,
    pub arg: Box<Pat>,
    pub type_ann: Option<TsTypeAnn>,

EsTree RestElement


span: Spandot3_token: Spanarg: Box<Pat>type_ann: Option<TsTypeAnn>

Trait Implementations

impl AstNode for RestPat[src]

impl Clone for RestPat[src]

impl Debug for RestPat[src]

impl<'de> Deserialize<'de> for RestPat[src]

impl From<RestPat> for Pat[src]

impl From<RestPat> for ObjectPatProp[src]

impl From<RestPat> for TsFnParam[src]

impl PartialEq<RestPat> for RestPat[src]

impl Serialize for RestPat[src]

impl Spanned for RestPat[src]

impl StructuralPartialEq for RestPat[src]

Auto Trait Implementations

impl RefUnwindSafe for RestPat

impl Send for RestPat

impl Sync for RestPat

impl Unpin for RestPat

impl UnwindSafe for RestPat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Erased for T

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.