pub enum EventReference<R0, R1> {
Progress(R0),
Messages(R1),
}
Expand description
Reference for an enum.
Variants§
Trait Implementations§
source§impl<R0: Clone, R1: Clone> Clone for EventReference<R0, R1>
impl<R0: Clone, R1: Clone> Clone for EventReference<R0, R1>
source§fn clone(&self) -> EventReference<R0, R1>
fn clone(&self) -> EventReference<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<EventReference<R0, R1>> for EventContainer<C0, C1>
impl<C0, C1, R0, R1> Push<EventReference<R0, R1>> for EventContainer<C0, C1>
source§fn push(&mut self, item: EventReference<R0, R1>)
fn push(&mut self, item: EventReference<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 EventReference<R0, R1>
Auto Trait Implementations§
impl<R0, R1> Freeze for EventReference<R0, R1>
impl<R0, R1> RefUnwindSafe for EventReference<R0, R1>where
R0: RefUnwindSafe,
R1: RefUnwindSafe,
impl<R0, R1> Send for EventReference<R0, R1>
impl<R0, R1> Sync for EventReference<R0, R1>
impl<R0, R1> Unpin for EventReference<R0, R1>
impl<R0, R1> UnwindSafe for EventReference<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)