pub enum ParkEventReference<R0, R1> {
Park(R0),
Unpark(R1),
}
Expand description
Reference for an enum.
Variants§
Trait Implementations§
Source§impl<R0: Clone, R1: Clone> Clone for ParkEventReference<R0, R1>
impl<R0: Clone, R1: Clone> Clone for ParkEventReference<R0, R1>
Source§fn clone(&self) -> ParkEventReference<R0, R1>
fn clone(&self) -> ParkEventReference<R0, R1>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<C0, C1, R0, R1> Push<ParkEventReference<R0, R1>> for ParkEventContainer<C0, C1>
impl<C0, C1, R0, R1> Push<ParkEventReference<R0, R1>> for ParkEventContainer<C0, C1>
Source§fn push(&mut self, item: ParkEventReference<R0, R1>)
fn push(&mut self, item: ParkEventReference<R0, R1>)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.impl<R0: Copy, R1: Copy> Copy for ParkEventReference<R0, R1>
Auto Trait Implementations§
impl<R0, R1> Freeze for ParkEventReference<R0, R1>
impl<R0, R1> RefUnwindSafe for ParkEventReference<R0, R1>where
R0: RefUnwindSafe,
R1: RefUnwindSafe,
impl<R0, R1> Send for ParkEventReference<R0, R1>
impl<R0, R1> Sync for ParkEventReference<R0, R1>
impl<R0, R1> Unpin for ParkEventReference<R0, R1>
impl<R0, R1> UnwindSafe for ParkEventReference<R0, R1>where
R0: UnwindSafe,
R1: UnwindSafe,
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