pub struct LevelInfo {
pub id: String,
pub name: String,
pub unlocked: bool,
pub stars: u8,
pub best_time: Option<f32>,
pub best_score: Option<u64>,
}Fields§
§id: String§name: String§unlocked: bool§stars: u8§best_time: Option<f32>§best_score: Option<u64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LevelInfo
impl RefUnwindSafe for LevelInfo
impl Send for LevelInfo
impl Sync for LevelInfo
impl Unpin for LevelInfo
impl UnsafeUnpin for LevelInfo
impl UnwindSafe for LevelInfo
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