pub struct Move {
pub quantum: Arc<QuantumMove>,
pub amount: i32,
}
Fields§
§quantum: Arc<QuantumMove>
§amount: i32
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Move
impl<'de> Deserialize<'de> for Move
source§fn deserialize<D>(
deserializer: D
) -> Result<Move, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Move, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Move
impl PartialEq for Move
source§impl Serialize for Move
impl Serialize for Move
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Move
impl StructuralEq for Move
impl StructuralPartialEq for Move
Auto Trait Implementations§
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
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