pub struct RoundStartInfo {
pub player_count: MultiplayerCount,
/* private fields */
}
Fields§
§player_count: MultiplayerCount
Implementations§
Source§impl RoundStartInfo
impl RoundStartInfo
pub fn new<TRng>(
starting_player: PlayerNumber,
player_count: MultiplayerCount,
rng: &mut TRng,
) -> Selfwhere
TRng: Rng,
pub fn max_health(&self) -> i32
pub fn starting_player(&self) -> PlayerNumber
Trait Implementations§
Source§impl Clone for RoundStartInfo
impl Clone for RoundStartInfo
Source§fn clone(&self) -> RoundStartInfo
fn clone(&self) -> RoundStartInfo
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 RoundStartInfo
impl RefUnwindSafe for RoundStartInfo
impl Send for RoundStartInfo
impl Sync for RoundStartInfo
impl Unpin for RoundStartInfo
impl UnwindSafe for RoundStartInfo
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