pub struct InfAfterStep_<T> {
pub src: T,
pub step: T,
pub planned_direction: T,
}Expand description
Describes the moves that require a stepping-over cast (that is, when after stepping over a piece you plan to make a movement with infinite range). /踏越え判定が必要になるタイプの移動を表現する型。
Fields§
§src: T§step: T§planned_direction: TTrait Implementations§
Source§impl<T: Clone> Clone for InfAfterStep_<T>
impl<T: Clone> Clone for InfAfterStep_<T>
Source§fn clone(&self) -> InfAfterStep_<T>
fn clone(&self) -> InfAfterStep_<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for InfAfterStep_<T>
impl<T: Debug> Debug for InfAfterStep_<T>
Source§impl<T: Hash> Hash for InfAfterStep_<T>
impl<T: Hash> Hash for InfAfterStep_<T>
Source§impl<T: PartialEq> PartialEq for InfAfterStep_<T>
impl<T: PartialEq> PartialEq for InfAfterStep_<T>
impl<T: Copy> Copy for InfAfterStep_<T>
impl<T: Eq> Eq for InfAfterStep_<T>
impl<T> StructuralPartialEq for InfAfterStep_<T>
Auto Trait Implementations§
impl<T> Freeze for InfAfterStep_<T>where
T: Freeze,
impl<T> RefUnwindSafe for InfAfterStep_<T>where
T: RefUnwindSafe,
impl<T> Send for InfAfterStep_<T>where
T: Send,
impl<T> Sync for InfAfterStep_<T>where
T: Sync,
impl<T> Unpin for InfAfterStep_<T>where
T: Unpin,
impl<T> UnwindSafe for InfAfterStep_<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more