pub enum JoinTarget {
Place(String),
User(u64),
}Expand description
What a join opens: a place, or the game a player is in.
Variants§
Trait Implementations§
Source§impl Clone for JoinTarget
impl Clone for JoinTarget
Source§impl Debug for JoinTarget
impl Debug for JoinTarget
Source§impl Display for JoinTarget
impl Display for JoinTarget
impl Eq for JoinTarget
Source§impl PartialEq for JoinTarget
impl PartialEq for JoinTarget
impl StructuralPartialEq for JoinTarget
Auto Trait Implementations§
impl Freeze for JoinTarget
impl RefUnwindSafe for JoinTarget
impl Send for JoinTarget
impl Sync for JoinTarget
impl Unpin for JoinTarget
impl UnsafeUnpin for JoinTarget
impl UnwindSafe for JoinTarget
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
Checks if this value is equivalent to the given key. Read more
§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.