pub struct EffectSite<'a> {
pub run_id: &'a str,
pub node_id: &'a str,
pub turn: usize,
pub index: usize,
}Expand description
Where an effect happened, for keying its record.
Fields§
§run_id: &'a strRun the effect belongs to — the scope a replay is confined to.
node_id: &'a strStep node that awaited the effect.
turn: usizeTurn of the step’s loop the effect was awaited in.
index: usizePosition within the turn, since one turn may await several effects.
Trait Implementations§
Source§impl<'a> Clone for EffectSite<'a>
impl<'a> Clone for EffectSite<'a>
Source§fn clone(&self) -> EffectSite<'a>
fn clone(&self) -> EffectSite<'a>
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 moreSource§impl<'a> Debug for EffectSite<'a>
impl<'a> Debug for EffectSite<'a>
impl<'a> Copy for EffectSite<'a>
Auto Trait Implementations§
impl<'a> Freeze for EffectSite<'a>
impl<'a> RefUnwindSafe for EffectSite<'a>
impl<'a> Send for EffectSite<'a>
impl<'a> Sync for EffectSite<'a>
impl<'a> Unpin for EffectSite<'a>
impl<'a> UnsafeUnpin for EffectSite<'a>
impl<'a> UnwindSafe for EffectSite<'a>
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