pub struct DefenseAwareShadowPlan { /* private fields */ }Expand description
The current plan, the defense-aware shadow plan, and the delta between them.
Implementations§
Source§impl DefenseAwareShadowPlan
impl DefenseAwareShadowPlan
Sourcepub const fn current(&self) -> &AttackPlan
pub const fn current(&self) -> &AttackPlan
Returns the real current plan (never mutated by this module).
Sourcepub const fn shadow(&self) -> &AttackPlan
pub const fn shadow(&self) -> &AttackPlan
Returns the read-only, defense-aware shadow plan.
Sourcepub const fn delta(&self) -> &ShadowPlanDelta
pub const fn delta(&self) -> &ShadowPlanDelta
Returns the explainable delta.
Trait Implementations§
Source§impl Clone for DefenseAwareShadowPlan
impl Clone for DefenseAwareShadowPlan
Source§fn clone(&self) -> DefenseAwareShadowPlan
fn clone(&self) -> DefenseAwareShadowPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DefenseAwareShadowPlan
impl RefUnwindSafe for DefenseAwareShadowPlan
impl Send for DefenseAwareShadowPlan
impl Sync for DefenseAwareShadowPlan
impl Unpin for DefenseAwareShadowPlan
impl UnsafeUnpin for DefenseAwareShadowPlan
impl UnwindSafe for DefenseAwareShadowPlan
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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