Struct virtual_view::Events
[−]
[src]
pub struct Events { /* fields omitted */ }
Methods
impl Events
[src]
fn new() -> Self
[src]
fn insert<T, F>(&mut self, name: T, func: F) where
T: ToString,
F: 'static + Fn(&mut Event),
[src]
T: ToString,
F: 'static + Fn(&mut Event),
fn get(&self, key: &str) -> Option<&Arc<Fn(&mut Event)>>
[src]
fn contains(&self, key: &str) -> bool
[src]
fn map(&self) -> &BTreeMap<String, Arc<Fn(&mut Event)>>
[src]
fn for_each<F>(&self, f: F) where
F: FnMut((&String, &Arc<Fn(&mut Event)>)),
[src]
F: FnMut((&String, &Arc<Fn(&mut Event)>)),
Trait Implementations
impl PartialEq for Events
[src]
fn eq(&self, other: &Events) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.