Struct embedded_hal_mock::eh0::timer::MockTimer
source · pub struct MockTimer { /* private fields */ }
Available on crate features
eh0
and embedded-time
only.Expand description
A simulated timer that can be used in tests.
Trait Implementations§
impl Periodic for MockTimer
Auto Trait Implementations§
impl RefUnwindSafe for MockTimer
impl Send for MockTimer
impl Sync for MockTimer
impl Unpin for MockTimer
impl UnwindSafe for MockTimer
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