Struct timer_utils::TimerList
source · #[repr(C)]pub struct TimerList { /* private fields */ }
Implementations
sourceimpl TimerList
impl TimerList
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn insert<T>(&mut self, time: u64, t: T)
pub fn insert_raw(&mut self, time: u64, ptr: *mut c_void)
pub fn front(&self) -> Option<&TimerEntry>
pub fn pop_front(&mut self) -> Option<TimerEntry>
pub fn is_empty(&self) -> bool
Trait Implementations
impl Eq for TimerList
impl StructuralEq for TimerList
impl StructuralPartialEq for TimerList
Auto Trait Implementations
impl RefUnwindSafe for TimerList
impl !Send for TimerList
impl !Sync for TimerList
impl Unpin for TimerList
impl UnwindSafe for TimerList
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