pub struct PlayerPoint {
pub player: Arc<RwLock<Player>>,
pub points: u8,
}
Fields§
§player: Arc<RwLock<Player>>
§points: u8
Trait Implementations§
Source§impl Clone for PlayerPoint
impl Clone for PlayerPoint
Source§fn clone(&self) -> PlayerPoint
fn clone(&self) -> PlayerPoint
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PlayerPoint
impl RefUnwindSafe for PlayerPoint
impl Send for PlayerPoint
impl Sync for PlayerPoint
impl Unpin for PlayerPoint
impl UnwindSafe for PlayerPoint
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