pub struct Singleton;
Expand description
A key used for actor groups containing only one actor.
Trait Implementations§
source§impl PartialEq<Singleton> for Singleton
impl PartialEq<Singleton> for Singleton
impl Eq for Singleton
impl StructuralEq for Singleton
impl StructuralPartialEq for Singleton
Auto Trait Implementations§
impl RefUnwindSafe for Singleton
impl Send for Singleton
impl Sync for Singleton
impl Unpin for Singleton
impl UnwindSafe for Singleton
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.