pub struct Player<'a> {
role: PlayerRole,
name: &'a str,
character: PlayerCharacterOrNone,
ready: bool,
}Fields§
§role: PlayerRole§name: &'a str§character: PlayerCharacterOrNone§ready: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Player<'a>
impl<'a> RefUnwindSafe for Player<'a>
impl<'a> Send for Player<'a>
impl<'a> Sync for Player<'a>
impl<'a> Unpin for Player<'a>
impl<'a> UnwindSafe for Player<'a>
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