#[repr(C)]pub struct TimerList<T> { /* private fields */ }
Implementations§
Source§impl<T> TimerList<T>
impl<T> TimerList<T>
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn insert(&mut self, time: u64, t: T)
pub fn front(&self) -> Option<&TimerEntry<T>>
pub fn pop_front(&mut self) -> Option<TimerEntry<T>>
pub fn is_empty(&self) -> bool
pub fn get_entry(&mut self, time: u64) -> Option<&mut TimerEntry<T>>
pub fn iter_mut(&mut self) -> IterMut<'_, TimerEntry<T>>
pub fn iter(&self) -> Iter<'_, TimerEntry<T>>
Trait Implementations§
impl<T: Eq> Eq for TimerList<T>
impl<T> StructuralPartialEq for TimerList<T>
Auto Trait Implementations§
impl<T> Freeze for TimerList<T>
impl<T> RefUnwindSafe for TimerList<T>where
T: RefUnwindSafe,
impl<T> Send for TimerList<T>where
T: Send,
impl<T> Sync for TimerList<T>where
T: Sync,
impl<T> Unpin for TimerList<T>where
T: Unpin,
impl<T> UnwindSafe for TimerList<T>where
T: UnwindSafe,
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