pub struct Attack {
pub attacker: ArgumentId,
pub target: ArgumentId,
pub kind: AttackKind,
}Expand description
An attack between two ASPIC+ arguments.
Fields§
§attacker: ArgumentIdThe attacking argument.
target: ArgumentIdThe argument being attacked.
kind: AttackKindThe kind of attack.
Trait Implementations§
impl Eq for Attack
impl StructuralPartialEq for Attack
Auto Trait Implementations§
impl Freeze for Attack
impl RefUnwindSafe for Attack
impl Send for Attack
impl Sync for Attack
impl Unpin for Attack
impl UnsafeUnpin for Attack
impl UnwindSafe for Attack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.