pub struct Achievement {
pub strings: Option<String>,
pub title: String,
pub description: String,
pub sprites: Option<String>,
pub sprite: String,
pub goals: Vec<Option<String>>,
}Expand description
Achievement::Achievement.
Fields§
§strings: Option<String>The string table.
title: StringThe title’s key.
description: StringThe description’s key.
sprites: Option<String>The sprite sheet.
sprite: StringThe sprite.
goals: Vec<Option<String>>The goals.
Trait Implementations§
Source§impl Clone for Achievement
impl Clone for Achievement
Source§fn clone(&self) -> Achievement
fn clone(&self) -> Achievement
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 moreSource§impl Debug for Achievement
impl Debug for Achievement
Source§impl Default for Achievement
impl Default for Achievement
Source§fn default() -> Achievement
fn default() -> Achievement
Returns the “default value” for a type. Read more
Source§impl PartialEq for Achievement
impl PartialEq for Achievement
impl StructuralPartialEq for Achievement
Auto Trait Implementations§
impl Freeze for Achievement
impl RefUnwindSafe for Achievement
impl Send for Achievement
impl Sync for Achievement
impl Unpin for Achievement
impl UnsafeUnpin for Achievement
impl UnwindSafe for Achievement
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