Struct shogi_kifu_converter::jkf::StateFormat
source · [−]Expand description
The type translated from IStateFormat
Fields
color: Color
手番
board: [[Piece; 9]; 9]
盤面
hands: [Hand; 2]
持ち駒
Trait Implementations
sourceimpl Clone for StateFormat
impl Clone for StateFormat
sourcefn clone(&self) -> StateFormat
fn clone(&self) -> StateFormat
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 StateFormat
impl Debug for StateFormat
sourceimpl<'de> Deserialize<'de> for StateFormat
impl<'de> Deserialize<'de> for StateFormat
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<StateFormat> for StateFormat
impl PartialEq<StateFormat> for StateFormat
sourcefn eq(&self, other: &StateFormat) -> bool
fn eq(&self, other: &StateFormat) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StateFormat) -> bool
fn ne(&self, other: &StateFormat) -> bool
This method tests for !=
.
sourceimpl Serialize for StateFormat
impl Serialize for StateFormat
impl Copy for StateFormat
impl Eq for StateFormat
impl StructuralEq for StateFormat
impl StructuralPartialEq for StateFormat
Auto Trait Implementations
impl RefUnwindSafe for StateFormat
impl Send for StateFormat
impl Sync for StateFormat
impl Unpin for StateFormat
impl UnwindSafe for StateFormat
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