Enum shogi_kifu_converter::jkf::Preset
source · [−]pub enum Preset {
Show 17 variants
PresetHirate,
PresetKY,
PresetKYR,
PresetKA,
PresetHI,
PresetHIKY,
Preset2,
Preset3,
Preset4,
Preset5,
Preset5L,
Preset6,
Preset7L,
Preset7R,
Preset8,
Preset10,
PresetOther,
}
Expand description
A representation of a initial state preset
Variants
PresetHirate
平手
PresetKY
香落ち
PresetKYR
右香落ち
PresetKA
角落ち
PresetHI
飛車落ち
PresetHIKY
飛香落ち
Preset2
二枚落ち
Preset3
三枚落ち
Preset4
四枚落ち
Preset5
五枚落ち
Preset5L
左五枚落ち
Preset6
六枚落ち
Preset7L
左七枚落ち
Preset7R
右七枚落ち
Preset8
八枚落ち
Preset10
十枚落ち
PresetOther
その他
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Preset
impl<'de> Deserialize<'de> for Preset
sourcefn 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 Copy for Preset
impl Eq for Preset
impl StructuralEq for Preset
impl StructuralPartialEq for Preset
Auto Trait Implementations
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnwindSafe for Preset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more