pub struct HighScoreData {
pub score: i32,
pub users: Vec<String>,
}
Fields§
§score: i32
§users: Vec<String>
Trait Implementations§
Source§impl Clone for HighScoreData
impl Clone for HighScoreData
Source§fn clone(&self) -> HighScoreData
fn clone(&self) -> HighScoreData
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 moreSource§impl Debug for HighScoreData
impl Debug for HighScoreData
Source§impl Default for HighScoreData
impl Default for HighScoreData
Source§fn default() -> HighScoreData
fn default() -> HighScoreData
Returns the “default value” for a type. Read more
Source§impl PacketVariable for HighScoreData
impl PacketVariable for HighScoreData
Source§impl PartialEq for HighScoreData
impl PartialEq for HighScoreData
impl StructuralPartialEq for HighScoreData
Auto Trait Implementations§
impl Freeze for HighScoreData
impl RefUnwindSafe for HighScoreData
impl Send for HighScoreData
impl Sync for HighScoreData
impl Unpin for HighScoreData
impl UnwindSafe for HighScoreData
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