pub enum Side {
ASide,
IASide,
}
Expand description
Describes which player it is /どちら側のプレイヤーであるかを指定する。
Variants§
ASide
The player whose pieces lie in the A, E and I row when the game starts. /A側プレイヤー。初期状態でA, E, Iの三列に渡って自分の駒が配置されている。
IASide
The player whose pieces lie in the IA, AU and AI row when the game starts. /IA側プレイヤー。初期状態でIA, AU, AIの三列に渡って自分の駒が配置されている。
Trait Implementations§
source§impl<'de> Deserialize<'de> for Side
impl<'de> Deserialize<'de> for Side
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Side, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Side, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Side
impl Serialize for Side
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more