pub struct NotificationId(pub u64);Expand description
Identity for a posted notification — the handle a consumer keeps to replace or dismiss it.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for NotificationId
impl Clone for NotificationId
Source§fn clone(&self) -> NotificationId
fn clone(&self) -> NotificationId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotificationId
Source§impl Debug for NotificationId
impl Debug for NotificationId
impl Eq for NotificationId
Source§impl Hash for NotificationId
impl Hash for NotificationId
Source§impl Ord for NotificationId
impl Ord for NotificationId
Source§fn cmp(&self, other: &NotificationId) -> Ordering
fn cmp(&self, other: &NotificationId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NotificationId
impl PartialEq for NotificationId
Source§impl PartialOrd for NotificationId
impl PartialOrd for NotificationId
impl StructuralPartialEq for NotificationId
Auto Trait Implementations§
impl Freeze for NotificationId
impl RefUnwindSafe for NotificationId
impl Send for NotificationId
impl Sync for NotificationId
impl Unpin for NotificationId
impl UnsafeUnpin for NotificationId
impl UnwindSafe for NotificationId
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.