Struct cetkaik_full_state_transition::Scores
source · pub struct Scores { /* private fields */ }
Expand description
Describes the scores that the two players have. Players each begin with 20 points, and loses when all the points are lost. /両プレイヤーが持つ得点を表す型。双方20点スタートであり、点が0点になると敗北。
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Scores
impl<'de> Deserialize<'de> for Scores
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
source§impl PartialEq<Scores> for Scores
impl PartialEq<Scores> for Scores
impl Copy for Scores
impl Eq for Scores
impl StructuralEq for Scores
impl StructuralPartialEq for Scores
Auto Trait Implementations§
impl RefUnwindSafe for Scores
impl Send for Scores
impl Sync for Scores
impl Unpin for Scores
impl UnwindSafe for Scores
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more