Struct elma::state::PlayerEntry [−][src]
pub struct PlayerEntry { pub name: String, pub skipped_internals: Vec<bool>, pub last_internal: i32, pub selected_internal: i32, }
Player entry in state.dat.
Fields
name: String
Player name.
skipped_internals: Vec<bool>
Skipped internals.
last_internal: i32
The index of last internal the player has reached so far.
selected_internal: i32
The last played (selected) internal.
Trait Implementations
impl Default for PlayerEntry
[src]
impl Default for PlayerEntry
fn default() -> PlayerEntry
[src]
fn default() -> PlayerEntry
Returns the "default value" for a type. Read more
impl Debug for PlayerEntry
[src]
impl Debug for PlayerEntry
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PlayerEntry
[src]
impl Clone for PlayerEntry
fn clone(&self) -> PlayerEntry
[src]
fn clone(&self) -> PlayerEntry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for PlayerEntry
[src]
impl PartialEq for PlayerEntry
fn eq(&self, other: &PlayerEntry) -> bool
[src]
fn eq(&self, other: &PlayerEntry) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PlayerEntry) -> bool
[src]
fn ne(&self, other: &PlayerEntry) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PlayerEntry
impl Send for PlayerEntry
impl Sync for PlayerEntry
impl Sync for PlayerEntry