Struct melib::backends::BackendEventConsumer
source · pub struct BackendEventConsumer(/* private fields */);
Implementations§
source§impl BackendEventConsumer
impl BackendEventConsumer
pub fn new(b: Arc<dyn Fn(AccountHash, BackendEvent) + Send + Sync>) -> Self
Trait Implementations§
source§impl Clone for BackendEventConsumer
impl Clone for BackendEventConsumer
source§fn clone(&self) -> BackendEventConsumer
fn clone(&self) -> BackendEventConsumer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BackendEventConsumer
impl Debug for BackendEventConsumer
source§impl Deref for BackendEventConsumer
impl Deref for BackendEventConsumer
Auto Trait Implementations§
impl Freeze for BackendEventConsumer
impl !RefUnwindSafe for BackendEventConsumer
impl Send for BackendEventConsumer
impl Sync for BackendEventConsumer
impl Unpin for BackendEventConsumer
impl !UnwindSafe for BackendEventConsumer
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