pub struct Mainloop {
pub queue: Mutex<VecDeque<Context>>,
pub on_event: BTreeMap<usize, Handler>,
}
Fields§
§queue: Mutex<VecDeque<Context>>
§on_event: BTreeMap<usize, Handler>
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Mainloop
impl !Send for Mainloop
impl !Sync for Mainloop
impl Unpin for Mainloop
impl !UnwindSafe for Mainloop
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