Struct makepad_widgets::shader::std::os::linux::select_timer::SelectTimers
pub struct SelectTimers {
pub timers: VecDeque<SelectTimer, Global>,
pub time_start: Instant,
pub select_time: f64,
}Fields§
§timers: VecDeque<SelectTimer, Global>§time_start: Instant§select_time: f64Implementations§
§impl SelectTimers
impl SelectTimers
pub fn new() -> SelectTimers
pub fn select(&mut self, fd: i32)
pub fn time_now(&self) -> f64
pub fn update_timers(&mut self, out: &mut Vec<u64, Global>)
pub fn start_timer(&mut self, id: u64, timeout: f64, repeats: bool)
pub fn stop_timer(&mut self, id: u64)
Auto Trait Implementations§
impl RefUnwindSafe for SelectTimers
impl Send for SelectTimers
impl Sync for SelectTimers
impl Unpin for SelectTimers
impl UnwindSafe for SelectTimers
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