pub enum DestructurePattern {
Object {
properties: Vec<DestructureObjectProp>,
rest: Option<String>,
},
Array {
elements: Vec<Option<DestructureArrayElem>>,
rest: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for DestructurePattern
impl Clone for DestructurePattern
Source§impl Debug for DestructurePattern
impl Debug for DestructurePattern
Source§impl PartialEq for DestructurePattern
impl PartialEq for DestructurePattern
impl StructuralPartialEq for DestructurePattern
Auto Trait Implementations§
impl !RefUnwindSafe for DestructurePattern
impl !Send for DestructurePattern
impl !Sync for DestructurePattern
impl !UnwindSafe for DestructurePattern
impl Forget for DestructurePattern
impl Freeze for DestructurePattern
impl Move for DestructurePattern
impl Unpin for DestructurePattern
impl UnsafeUnpin for DestructurePattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more