pub struct SubscriberId(/* private fields */);Expand description
A consumer of change reports, from Scene::subscribe.
Every subscriber has its own pending reports, merged the same way, and
drains them with
Scene::take_changes_for. Ids are never
reused within a scene.
Trait Implementations§
Source§impl Clone for SubscriberId
impl Clone for SubscriberId
Source§fn clone(&self) -> SubscriberId
fn clone(&self) -> SubscriberId
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 SubscriberId
Source§impl Debug for SubscriberId
impl Debug for SubscriberId
impl Eq for SubscriberId
Source§impl Hash for SubscriberId
impl Hash for SubscriberId
Source§impl Ord for SubscriberId
impl Ord for SubscriberId
Source§fn cmp(&self, other: &SubscriberId) -> Ordering
fn cmp(&self, other: &SubscriberId) -> 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 SubscriberId
impl PartialEq for SubscriberId
Source§impl PartialOrd for SubscriberId
impl PartialOrd for SubscriberId
impl StructuralPartialEq for SubscriberId
Auto Trait Implementations§
impl Freeze for SubscriberId
impl RefUnwindSafe for SubscriberId
impl Send for SubscriberId
impl Sync for SubscriberId
impl Unpin for SubscriberId
impl UnsafeUnpin for SubscriberId
impl UnwindSafe for SubscriberId
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