pub enum ArrayPatternElement {
Place(Place),
Spread(SpreadPattern),
Hole,
}Variants§
Trait Implementations§
Source§impl Clone for ArrayPatternElement
impl Clone for ArrayPatternElement
Source§fn clone(&self) -> ArrayPatternElement
fn clone(&self) -> ArrayPatternElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArrayPatternElement
impl RefUnwindSafe for ArrayPatternElement
impl Send for ArrayPatternElement
impl Sync for ArrayPatternElement
impl Unpin for ArrayPatternElement
impl UnsafeUnpin for ArrayPatternElement
impl UnwindSafe for ArrayPatternElement
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