Struct swc_ecma_ast::RestPat[][src]

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

EsTree RestElement

Fields

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 Eq for RestPat[src]

impl EqIgnoreSpan for RestPat[src]

impl From<RestPat> for Pat[src]

impl From<RestPat> for ObjectPatProp[src]

impl From<RestPat> for TsFnParam[src]

impl Hash for RestPat[src]

impl PartialEq<RestPat> for RestPat[src]

impl Serialize for RestPat[src]

impl Spanned for RestPat[src]

impl StructuralEq 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
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.