pub struct LocalEvent<M: Message> {
pub time: f64,
pub msg: Option<M>,
pub tip: LocalEventType,
}Fields§
§time: f64§msg: Option<M>§tip: LocalEventTypeTrait Implementations§
Source§impl<M: Clone + Message> Clone for LocalEvent<M>
impl<M: Clone + Message> Clone for LocalEvent<M>
Source§fn clone(&self) -> LocalEvent<M>
fn clone(&self) -> LocalEvent<M>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<M> Freeze for LocalEvent<M>where
M: Freeze,
impl<M> RefUnwindSafe for LocalEvent<M>where
M: RefUnwindSafe,
impl<M> Send for LocalEvent<M>where
M: Send,
impl<M> Sync for LocalEvent<M>where
M: Sync,
impl<M> Unpin for LocalEvent<M>where
M: Unpin,
impl<M> UnwindSafe for LocalEvent<M>where
M: 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