pub(crate) struct GenericNotify<F> {
count: usize,
additional: bool,
tags: F,
}Expand description
A generic notification.
Fields§
§count: usizeNumber of listeners to notify.
additional: boolWhether this notification is additional.
Generate tags.
Implementations§
Source§impl<T, F: TagProducer<Tag = T>> GenericNotify<F>
impl<T, F: TagProducer<Tag = T>> GenericNotify<F>
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for GenericNotify<F>where
F: Freeze,
impl<F> RefUnwindSafe for GenericNotify<F>where
F: RefUnwindSafe,
impl<F> Send for GenericNotify<F>where
F: Send,
impl<F> Sync for GenericNotify<F>where
F: Sync,
impl<F> Unpin for GenericNotify<F>where
F: Unpin,
impl<F> UnwindSafe for GenericNotify<F>where
F: UnwindSafe,
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
Source§impl<N> IntoNotification for Nwhere
N: Notification,
impl<N> IntoNotification for Nwhere
N: Notification,
Source§type Tag = <N as NotificationPrivate>::Tag
type Tag = <N as NotificationPrivate>::Tag
The tag data associated with a notification. Read more
Source§fn into_notification(self) -> <N as IntoNotification>::Notify
fn into_notification(self) -> <N as IntoNotification>::Notify
Convert this value into a notification. Read more
Source§fn additional(self) -> Additional<Self::Notify>where
Self: Sized,
fn additional(self) -> Additional<Self::Notify>where
Self: Sized,
Convert this value into an additional notification. Read more
Source§fn relaxed(self) -> Relaxed<Self::Notify>where
Self: Sized,
fn relaxed(self) -> Relaxed<Self::Notify>where
Self: Sized,
Don’t emit a fence for this notification. Read more