pub enum MoveHistory {
Bring,
Leave,
}Expand description
Whether a move brings the history of what it moves (technical design: spaces and moves).
Variants§
Bring
Its past values too, each replaced as it was, with the mover’s note of when the old space recorded it, and by whom.
Leave
Its current values alone, as they are, which leaves its history in the old space.
Trait Implementations§
Source§impl Clone for MoveHistory
impl Clone for MoveHistory
impl Copy for MoveHistory
Source§impl Debug for MoveHistory
impl Debug for MoveHistory
impl Eq for MoveHistory
Source§impl PartialEq for MoveHistory
impl PartialEq for MoveHistory
impl StructuralPartialEq for MoveHistory
Auto Trait Implementations§
impl Forget for MoveHistory
impl Freeze for MoveHistory
impl Move for MoveHistory
impl RefUnwindSafe for MoveHistory
impl Send for MoveHistory
impl Sync for MoveHistory
impl Unpin for MoveHistory
impl UnsafeUnpin for MoveHistory
impl UnwindSafe for MoveHistory
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.