pub struct PlayerScope {
pub player_id: u8,
}Expand description
a single player
Fields§
§player_id: u8target player id if from client
sender player id if from server
Implementations§
Trait Implementations§
Source§impl Clone for PlayerScope
impl Clone for PlayerScope
Source§fn clone(&self) -> PlayerScope
fn clone(&self) -> PlayerScope
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 PlayerScope
impl Debug for PlayerScope
Source§impl From<PlayerScope> for Scope
impl From<PlayerScope> for Scope
Source§fn from(scope: PlayerScope) -> Self
fn from(scope: PlayerScope) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayerScope
impl PartialEq for PlayerScope
impl Eq for PlayerScope
impl StructuralPartialEq for PlayerScope
Auto Trait Implementations§
impl Freeze for PlayerScope
impl RefUnwindSafe for PlayerScope
impl Send for PlayerScope
impl Sync for PlayerScope
impl Unpin for PlayerScope
impl UnwindSafe for PlayerScope
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