1
This commit is contained in:
parent
1a2c64931e
commit
ab32db98cf
@ -1,9 +1,14 @@
|
||||
use std::rc::{Rc, Weak};
|
||||
use std::cell::RefCell;
|
||||
|
||||
pub struct TimerList {
|
||||
|
||||
}
|
||||
|
||||
pub struct Timer {
|
||||
|
||||
free_timer_num: i32,
|
||||
free_timer_list: Rc::<RefCell::<crate::ListHead<TimerList>>>,
|
||||
running_timer: Weak::<RefCell::<TimerList>>,
|
||||
}
|
||||
|
||||
impl Timer {
|
||||
|
Loading…
x
Reference in New Issue
Block a user