pub enum PlayerRequestCode {
AllGame,
PlayerId(u64),
}Expand description
The target it should request something from/to
Variants§
Trait Implementations§
Source§impl Clone for PlayerRequestCode
impl Clone for PlayerRequestCode
Source§fn clone(&self) -> PlayerRequestCode
fn clone(&self) -> PlayerRequestCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerRequestCode
impl Debug for PlayerRequestCode
Source§impl Ord for PlayerRequestCode
impl Ord for PlayerRequestCode
Source§fn cmp(&self, other: &PlayerRequestCode) -> Ordering
fn cmp(&self, other: &PlayerRequestCode) -> Ordering
1.21.0 · 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 PlayerRequestCode
impl PartialEq for PlayerRequestCode
Source§impl PartialOrd for PlayerRequestCode
impl PartialOrd for PlayerRequestCode
impl Copy for PlayerRequestCode
impl Eq for PlayerRequestCode
impl StructuralPartialEq for PlayerRequestCode
Auto Trait Implementations§
impl Freeze for PlayerRequestCode
impl RefUnwindSafe for PlayerRequestCode
impl Send for PlayerRequestCode
impl Sync for PlayerRequestCode
impl Unpin for PlayerRequestCode
impl UnwindSafe for PlayerRequestCode
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