pub struct LevelTargets {
pub one_star: i32,
pub two_star: i32,
pub three_star: i32,
}Expand description
Per-level score thresholds for Adventure Mode star awards.
Hitting one_star completes the level; two_star and three_star
are progressive bonuses. Stars are awarded server-side at session end.
Fields§
§one_star: i32§two_star: i32§three_star: i32Trait Implementations§
Source§impl Clone for LevelTargets
impl Clone for LevelTargets
Source§fn clone(&self) -> LevelTargets
fn clone(&self) -> LevelTargets
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 moreimpl Copy for LevelTargets
Source§impl Debug for LevelTargets
impl Debug for LevelTargets
Source§impl<'de> Deserialize<'de> for LevelTargets
impl<'de> Deserialize<'de> for LevelTargets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LevelTargets
Source§impl PartialEq for LevelTargets
impl PartialEq for LevelTargets
Source§impl Serialize for LevelTargets
impl Serialize for LevelTargets
impl StructuralPartialEq for LevelTargets
Auto Trait Implementations§
impl Freeze for LevelTargets
impl RefUnwindSafe for LevelTargets
impl Send for LevelTargets
impl Sync for LevelTargets
impl Unpin for LevelTargets
impl UnsafeUnpin for LevelTargets
impl UnwindSafe for LevelTargets
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