#[repr(C)]pub struct TimerObjectList { /* private fields */ }
Implementations§
Source§impl TimerObjectList
impl TimerObjectList
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<&TimerObjectEntry>
pub fn pop_front(&mut self) -> Option<TimerObjectEntry>
pub fn is_empty(&self) -> bool
pub fn get_entry(&mut self, time: u64) -> Option<&mut TimerObjectEntry>
pub fn iter_mut(&mut self) -> IterMut<'_, TimerObjectEntry>
pub fn iter(&self) -> Iter<'_, TimerObjectEntry>
Trait Implementations§
Source§impl Debug for TimerObjectList
impl Debug for TimerObjectList
Source§impl Default for TimerObjectList
impl Default for TimerObjectList
Source§impl PartialEq for TimerObjectList
impl PartialEq for TimerObjectList
impl Eq for TimerObjectList
impl StructuralPartialEq for TimerObjectList
Auto Trait Implementations§
impl Freeze for TimerObjectList
impl RefUnwindSafe for TimerObjectList
impl !Send for TimerObjectList
impl !Sync for TimerObjectList
impl Unpin for TimerObjectList
impl UnwindSafe for TimerObjectList
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