Struct rust_sc2::action::ActionError [−][src]
pub struct ActionError {
pub unit: u64,
pub ability: AbilityId,
pub result: ActionResult,
}Structure used to analyze actions failed on previous game step.
Stored in state.action_errors.
Fields
unit: u64Tag of unit that was executing action.
ability: AbilityIdAbility that was used by this unit.
result: ActionResultResult of executed action.
Trait Implementations
impl Clone for ActionError[src]
impl Clone for ActionError[src]fn clone(&self) -> ActionError[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ActionError[src]
impl Copy for ActionError[src]impl Eq for ActionError[src]
impl Eq for ActionError[src]impl Hash for ActionError[src]
impl Hash for ActionError[src]impl PartialEq<ActionError> for ActionError[src]
impl PartialEq<ActionError> for ActionError[src]fn eq(&self, other: &ActionError) -> bool[src]
fn ne(&self, other: &ActionError) -> bool[src]
impl StructuralEq for ActionError[src]
impl StructuralEq for ActionError[src]impl StructuralPartialEq for ActionError[src]
impl StructuralPartialEq for ActionError[src]Auto Trait Implementations
impl RefUnwindSafe for ActionError
impl RefUnwindSafe for ActionErrorimpl Send for ActionError
impl Send for ActionErrorimpl Sync for ActionError
impl Sync for ActionErrorimpl Unpin for ActionError
impl Unpin for ActionErrorimpl UnwindSafe for ActionError
impl UnwindSafe for ActionErrorBlanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,