Struct minority_game_shared::RoundComplete [−][src]
pub struct RoundComplete {
pub won: bool,
pub happiness: f32,
pub current_rank: u32,
pub number_of_players: u32,
pub number_of_liars: u32,
pub number_of_tells: u32,
}
Expand description
A round has finished.
Fields
won: bool
The player’s happiness has gone up this round.
happiness: f32
current_rank: u32
number_of_players: u32
number_of_liars: u32
number_of_tells: u32
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoundComplete
impl Send for RoundComplete
impl Sync for RoundComplete
impl Unpin for RoundComplete
impl UnwindSafe for RoundComplete
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more