Struct swc_ecma_ast::RestPat
source · [−]pub struct RestPat {
pub span: Span,
pub dot3_token: Span,
pub arg: Box<Pat>,
pub type_ann: Option<Box<TsTypeAnn>>,
}
Expand description
EsTree RestElement
Fields
span: Span
dot3_token: Span
arg: Box<Pat>
type_ann: Option<Box<TsTypeAnn>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RestPat
impl<'de> Deserialize<'de> for RestPat
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 RestPat
impl EqIgnoreSpan for RestPat
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<RestPat> for ObjectPatProp
impl From<RestPat> for ObjectPatProp
impl Eq for RestPat
impl StructuralEq for RestPat
impl StructuralPartialEq for RestPat
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
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