Struct shogi_kifu_converter::jkf::MoveFormat
source · [−]pub struct MoveFormat {
pub move_: Option<MoveMoveFormat>,
pub comments: Option<Vec<String>>,
pub time: Option<Time>,
pub special: Option<MoveSpecial>,
pub forks: Option<Vec<Vec<MoveFormat>>>,
}
Expand description
The type translated from IMoveFormat
Fields
move_: Option<MoveMoveFormat>
駒移動・駒打ち
comments: Option<Vec<String>>
コメント
time: Option<Time>
消費時間
special: Option<MoveSpecial>
特殊な指し手(終局・中断など)
forks: Option<Vec<Vec<MoveFormat>>>
分岐・変化手順
Trait Implementations
sourceimpl Clone for MoveFormat
impl Clone for MoveFormat
sourcefn clone(&self) -> MoveFormat
fn clone(&self) -> MoveFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MoveFormat
impl Debug for MoveFormat
sourceimpl Default for MoveFormat
impl Default for MoveFormat
sourcefn default() -> MoveFormat
fn default() -> MoveFormat
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MoveFormat
impl<'de> Deserialize<'de> for MoveFormat
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
sourceimpl PartialEq<MoveFormat> for MoveFormat
impl PartialEq<MoveFormat> for MoveFormat
sourcefn eq(&self, other: &MoveFormat) -> bool
fn eq(&self, other: &MoveFormat) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MoveFormat) -> bool
fn ne(&self, other: &MoveFormat) -> bool
This method tests for !=
.
sourceimpl Serialize for MoveFormat
impl Serialize for MoveFormat
sourceimpl TryFrom<MoveRecord> for MoveFormat
impl TryFrom<MoveRecord> for MoveFormat
type Error = CsaConvertError
type Error = CsaConvertError
The type returned in the event of a conversion error.
sourcefn try_from(m: MoveRecord) -> Result<Self, Self::Error>
fn try_from(m: MoveRecord) -> Result<Self, Self::Error>
Performs the conversion.
impl Eq for MoveFormat
impl StructuralEq for MoveFormat
impl StructuralPartialEq for MoveFormat
Auto Trait Implementations
impl RefUnwindSafe for MoveFormat
impl Send for MoveFormat
impl Sync for MoveFormat
impl Unpin for MoveFormat
impl UnwindSafe for MoveFormat
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