#[non_exhaustive]pub struct TimerController {}Expand description
A distributor of timers that binds the timers lifetime to that of the Gba struct to try ensure unique access to timers.
Implementations§
Source§impl TimerController
impl TimerController
Sourcepub unsafe fn all_timers(&mut self) -> AllTimers<'_>
pub unsafe fn all_timers(&mut self) -> AllTimers<'_>
Gets all timers including system ones (Timer0, Timer1)
§Safety
Timer0 and Timer1 are used by system components (sound, embassy-agb). Using them may interfere with system functionality.
Auto Trait Implementations§
impl Freeze for TimerController
impl RefUnwindSafe for TimerController
impl Send for TimerController
impl Sync for TimerController
impl Unpin for TimerController
impl UnwindSafe for TimerController
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more