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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.