pub struct PlanModeHandle(/* private fields */);Expand description
A cheap, cloneable on/off switch shared between the PlanModeHooks (read
from the run task) and the toggle that flips it (the actor, via
Agent::set_plan_mode). Default is off.
Implementations§
Trait Implementations§
Source§impl Clone for PlanModeHandle
impl Clone for PlanModeHandle
Auto Trait Implementations§
impl Freeze for PlanModeHandle
impl RefUnwindSafe for PlanModeHandle
impl Send for PlanModeHandle
impl Sync for PlanModeHandle
impl Unpin for PlanModeHandle
impl UnsafeUnpin for PlanModeHandle
impl UnwindSafe for PlanModeHandle
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