Struct shogi_kifu_converter::jkf::Piece
source · [−]Expand description
The type translated from IPiece
Fields
color: Option<Color>
手番
kind: Option<Kind>
駒種
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Piece
impl<'de> Deserialize<'de> for Piece
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 Piece
impl Eq for Piece
impl StructuralEq for Piece
impl StructuralPartialEq for Piece
Auto Trait Implementations
impl RefUnwindSafe for Piece
impl Send for Piece
impl Sync for Piece
impl Unpin for Piece
impl UnwindSafe for Piece
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