Struct disarray_network::states::State
source · pub struct State<T: ToString> {
pub message: T,
}
Fields
message: T
Implementations
Trait Implementations
sourceimpl<T: PartialEq + ToString> PartialEq<State<T>> for State<T>
impl<T: PartialEq + ToString> PartialEq<State<T>> for State<T>
impl<T: Eq + ToString> Eq for State<T>
impl<T: ToString> StructuralEq for State<T>
impl<T: ToString> StructuralPartialEq for State<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for State<T>where
T: RefUnwindSafe,
impl<T> Send for State<T>where
T: Send,
impl<T> Sync for State<T>where
T: Sync,
impl<T> Unpin for State<T>where
T: Unpin,
impl<T> UnwindSafe for State<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.