pub struct NotifyAll<'c, N, P = (), F = (), const REV: bool = false> { /* private fields */ }Expand description
Notification builder that locates, notifies and removes all fitting objects in a Chain.
Implementations§
Source§impl<'c, N: Subscriber, P, F, const REV: bool> NotifyAll<'c, N, P, F, REV>
impl<'c, N: Subscriber, P, F, const REV: bool> NotifyAll<'c, N, P, F, REV>
Sourcepub fn filter<X: Fn(&N) -> bool>(self, filter: X) -> NotifyAll<'c, N, X, F>
pub fn filter<X: Fn(&N) -> bool>(self, filter: X) -> NotifyAll<'c, N, X, F>
Configures the notification configuration with a boolean predicate that allows skipping the objects that aren’t ready to be notified.
Source§impl<'c, N: Subscriber, P, F> NotifyAll<'c, N, P, F, true>
impl<'c, N: Subscriber, P, F> NotifyAll<'c, N, P, F, true>
Trait Implementations§
Auto Trait Implementations§
impl<'c, N, P, F, const REV: bool> Freeze for NotifyAll<'c, N, P, F, REV>
impl<'c, N, P = (), F = (), const REV: bool = false> !RefUnwindSafe for NotifyAll<'c, N, P, F, REV>
impl<'c, N, P = (), F = (), const REV: bool = false> !Send for NotifyAll<'c, N, P, F, REV>
impl<'c, N, P = (), F = (), const REV: bool = false> !Sync for NotifyAll<'c, N, P, F, REV>
impl<'c, N, P, F, const REV: bool> Unpin for NotifyAll<'c, N, P, F, REV>
impl<'c, N, P = (), F = (), const REV: bool = false> !UnwindSafe for NotifyAll<'c, N, P, F, REV>
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