pub struct PlayerInfo {
pub username: String,
pub attr_a: i32,
pub attr_i: i32,
pub attr_p: i32,
pub attr_pd: i32,
pub attr_t: i32,
pub commands: Vec<String>,
}Expand description
Player information (from the right-side table).
Fields§
§username: String§attr_a: i32§attr_i: i32§attr_p: i32§attr_pd: i32§attr_t: i32§commands: Vec<String>Command list (one entry per command line, e.g. “gr 12,0,12”).
Trait Implementations§
Source§impl Clone for PlayerInfo
impl Clone for PlayerInfo
Source§fn clone(&self) -> PlayerInfo
fn clone(&self) -> PlayerInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlayerInfo
impl RefUnwindSafe for PlayerInfo
impl Send for PlayerInfo
impl Sync for PlayerInfo
impl Unpin for PlayerInfo
impl UnsafeUnpin for PlayerInfo
impl UnwindSafe for PlayerInfo
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