pub struct EventManager { /* private fields */ }Implementations§
Source§impl EventManager
impl EventManager
pub fn new() -> Self
pub fn get_emitter(&mut self) -> &mut EventEmitter
pub fn get_callback_registry(&mut self) -> &mut CallbackRegistry
pub fn add_event_filter<F>(&mut self, event: &str, filter: F)
pub fn emit_filtered(&mut self, event: &str, data: Value)
pub fn create_event_chain(&mut self, events: Vec<String>) -> EventChain<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventManager
impl !RefUnwindSafe for EventManager
impl Send for EventManager
impl Sync for EventManager
impl Unpin for EventManager
impl !UnwindSafe for EventManager
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