LightweightSubject
struct · ferroui-base · v0.5.0
struct LightweightSubject<T>
A subject: both an observable and an observer that forwards everything it receives to its current subscribers.
Subscribers may subscribe or unsubscribe from within a notification; the change takes effect for the next notification.
Members
new
fn new() -> Self
has_observers
fn has_observers(self: &Self) -> bool
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedSubscribeGuard<T>ErasedDestructorIntoEitherIFerroSubject<T>DefaultCloneIObserver<T>IObservable<T>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.