pub struct Timer<'b, 'a> { /* private fields */ }
Implementations
sourceimpl<'b, 'a> Timer<'b, 'a>
impl<'b, 'a> Timer<'b, 'a>
sourcepub fn into_inner(self) -> TimerCallback<'a>
pub fn into_inner(self) -> TimerCallback<'a>
Returns the closure as a trait-object and cancels the timer by consuming it…
Trait Implementations
Auto Trait Implementations
impl<'b, 'a> !RefUnwindSafe for Timer<'b, 'a>
impl<'b, 'a> !Send for Timer<'b, 'a>
impl<'b, 'a> Sync for Timer<'b, 'a>
impl<'b, 'a> Unpin for Timer<'b, 'a>
impl<'b, 'a> !UnwindSafe for Timer<'b, 'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more