pub enum PlaceOrSpread {
Place(Place),
Spread(SpreadPattern),
}Variants§
Place(Place)
Spread(SpreadPattern)
Trait Implementations§
Source§impl Clone for PlaceOrSpread
impl Clone for PlaceOrSpread
Source§fn clone(&self) -> PlaceOrSpread
fn clone(&self) -> PlaceOrSpread
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 PlaceOrSpread
impl RefUnwindSafe for PlaceOrSpread
impl Send for PlaceOrSpread
impl Sync for PlaceOrSpread
impl Unpin for PlaceOrSpread
impl UnsafeUnpin for PlaceOrSpread
impl UnwindSafe for PlaceOrSpread
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