pub struct LevelScore {
pub name: String,
pub score: usize,
}Fields§
§name: String§score: usizeTrait Implementations§
Source§impl Clone for LevelScore
impl Clone for LevelScore
Source§fn clone(&self) -> LevelScore
fn clone(&self) -> LevelScore
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 LevelScore
impl RefUnwindSafe for LevelScore
impl Send for LevelScore
impl Sync for LevelScore
impl Unpin for LevelScore
impl UnsafeUnpin for LevelScore
impl UnwindSafe for LevelScore
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