pub struct DefaultApplicationEventMulticaster { /* private fields */ }
Expand description
默认的事件多播器实现 Default implementation of event multicaster
Implementations§
Trait Implementations§
Source§impl ApplicationEventMulticaster for DefaultApplicationEventMulticaster
impl ApplicationEventMulticaster for DefaultApplicationEventMulticaster
Source§fn add_application_listener(&mut self, listener: Box<dyn ApplicationListener>)
fn add_application_listener(&mut self, listener: Box<dyn ApplicationListener>)
添加应用事件监听器
Add application event listener
Source§fn remove_application_listener(&mut self, key: &Key)
fn remove_application_listener(&mut self, key: &Key)
移除应用事件监听器
Remove application event listener
Source§impl Clone for DefaultApplicationEventMulticaster
impl Clone for DefaultApplicationEventMulticaster
Source§fn clone(&self) -> DefaultApplicationEventMulticaster
fn clone(&self) -> DefaultApplicationEventMulticaster
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DefaultApplicationEventMulticaster
impl !RefUnwindSafe for DefaultApplicationEventMulticaster
impl Send for DefaultApplicationEventMulticaster
impl Sync for DefaultApplicationEventMulticaster
impl Unpin for DefaultApplicationEventMulticaster
impl !UnwindSafe for DefaultApplicationEventMulticaster
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