Struct event_listener_primitives::Bag [−][src]
pub struct Bag<F: Send + Sync + Clone + 'static, A1: ?Sized = Private, A2: ?Sized = Private, A3: ?Sized = Private, A4: ?Sized = Private, A5: ?Sized = Private> { /* fields omitted */ }
Expand description
Data structure that holds Fn()
event handlers
Implementations
Call each handler without arguments and keep handlers in the bag
Call each handler without arguments and keep handlers in the bag
Call each handler without arguments and keep handlers in the bag
Call each handler without arguments and keep handlers in the bag
Trait Implementations
Auto Trait Implementations
impl<F, A1 = Private, A2 = Private, A3 = Private, A4 = Private, A5 = Private> !RefUnwindSafe for Bag<F, A1, A2, A3, A4, A5>
impl<F, A1: ?Sized, A2: ?Sized, A3: ?Sized, A4: ?Sized, A5: ?Sized> Send for Bag<F, A1, A2, A3, A4, A5> where
A1: Send,
A2: Send,
A3: Send,
A4: Send,
A5: Send,
impl<F, A1: ?Sized, A2: ?Sized, A3: ?Sized, A4: ?Sized, A5: ?Sized> Sync for Bag<F, A1, A2, A3, A4, A5> where
A1: Sync,
A2: Sync,
A3: Sync,
A4: Sync,
A5: Sync,
impl<F, A1: ?Sized, A2: ?Sized, A3: ?Sized, A4: ?Sized, A5: ?Sized> Unpin for Bag<F, A1, A2, A3, A4, A5> where
A1: Unpin,
A2: Unpin,
A3: Unpin,
A4: Unpin,
A5: Unpin,
impl<F, A1 = Private, A2 = Private, A3 = Private, A4 = Private, A5 = Private> !UnwindSafe for Bag<F, A1, A2, A3, A4, A5>
Blanket Implementations
Mutably borrows from an owned value. Read more