pub struct GameSession<StepT: Clone + Display> {
pub participants: HashMap<ParticipantId, Rc<RefCell<Participant>>>,
pub participant_ids: FreeList<u8>,
/* private fields */
}
Fields§
§participants: HashMap<ParticipantId, Rc<RefCell<Participant>>>
§participant_ids: FreeList<u8>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<StepT> Freeze for GameSession<StepT>
impl<StepT> !RefUnwindSafe for GameSession<StepT>
impl<StepT> !Send for GameSession<StepT>
impl<StepT> !Sync for GameSession<StepT>
impl<StepT> Unpin for GameSession<StepT>where
StepT: Unpin,
impl<StepT> !UnwindSafe for GameSession<StepT>
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