pub struct AnyClock(/* private fields */);Expand description
A type-erased Clock, what the agent stores.
The agent already carries five type parameters; the clock is read a few times per turn, so erasing it costs nothing that matters.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AnyClock
impl !UnwindSafe for AnyClock
impl Forget for AnyClock
impl Freeze for AnyClock
impl Move for AnyClock
impl Send for AnyClock
impl Sync for AnyClock
impl Unpin for AnyClock
impl UnsafeUnpin for AnyClock
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