pub enum TraceSource<E: Clone> {
Rule {
name: &'static str,
},
Reaction {
name: &'static str,
trigger: Box<E>,
},
}Expand description
Where an effect came from.
Variants§
Trait Implementations§
Source§impl<E: Clone + Clone> Clone for TraceSource<E>
impl<E: Clone + Clone> Clone for TraceSource<E>
Source§fn clone(&self) -> TraceSource<E>
fn clone(&self) -> TraceSource<E>
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<E> Freeze for TraceSource<E>
impl<E> RefUnwindSafe for TraceSource<E>where
E: RefUnwindSafe,
impl<E> Send for TraceSource<E>where
E: Send,
impl<E> Sync for TraceSource<E>where
E: Sync,
impl<E> Unpin for TraceSource<E>
impl<E> UnsafeUnpin for TraceSource<E>
impl<E> UnwindSafe for TraceSource<E>where
E: 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