Struct yew_notifications::NotificationsManager
source · pub struct NotificationsManager<N: Notifiable + PartialEq + Clone> { /* private fields */ }
Expand description
Returned object from the use_notification
hook. Can spawn new notifications.
Implementations§
source§impl<N: Notifiable + PartialEq + Clone> NotificationsManager<N>
impl<N: Notifiable + PartialEq + Clone> NotificationsManager<N>
Trait Implementations§
source§impl<N: Clone + Notifiable + PartialEq + Clone> Clone for NotificationsManager<N>
impl<N: Clone + Notifiable + PartialEq + Clone> Clone for NotificationsManager<N>
source§fn clone(&self) -> NotificationsManager<N>
fn clone(&self) -> NotificationsManager<N>
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<N: Notifiable + PartialEq + Clone> Default for NotificationsManager<N>
impl<N: Notifiable + PartialEq + Clone> Default for NotificationsManager<N>
source§impl<N: PartialEq + Notifiable + PartialEq + Clone> PartialEq for NotificationsManager<N>
impl<N: PartialEq + Notifiable + PartialEq + Clone> PartialEq for NotificationsManager<N>
source§fn eq(&self, other: &NotificationsManager<N>) -> bool
fn eq(&self, other: &NotificationsManager<N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<N: Notifiable + PartialEq + Clone> StructuralPartialEq for NotificationsManager<N>
Auto Trait Implementations§
impl<N> !RefUnwindSafe for NotificationsManager<N>
impl<N> !Send for NotificationsManager<N>
impl<N> !Sync for NotificationsManager<N>
impl<N> Unpin for NotificationsManager<N>
impl<N> !UnwindSafe for NotificationsManager<N>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.