pub enum TargetOutcome {
Inactive,
DuplicateTarget,
Accepted,
PierceExhausted,
StorageExhausted,
}Expand description
Budget policy only; acceptance does not prove game-owned damage or validity.
Variants§
Inactive
Checked before duplicate identity, including a repeat of the final hit.
DuplicateTarget
Accepted
Admitted and consumed one pierce; travel can continue.
PierceExhausted
Admitted the final target with no pierce remaining; projectile stopped.
StorageExhausted
Not admitted; projectile stopped. Unreachable through the public API:
pierces < N guarantees room for every admitted target plus the final hit.
Retained only to describe the legacy defensive storage guard honestly.
Trait Implementations§
Source§impl Clone for TargetOutcome
impl Clone for TargetOutcome
Source§fn clone(&self) -> TargetOutcome
fn clone(&self) -> TargetOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetOutcome
impl Debug for TargetOutcome
Source§impl PartialEq for TargetOutcome
impl PartialEq for TargetOutcome
impl Copy for TargetOutcome
impl Eq for TargetOutcome
impl StructuralPartialEq for TargetOutcome
Auto Trait Implementations§
impl Freeze for TargetOutcome
impl RefUnwindSafe for TargetOutcome
impl Send for TargetOutcome
impl Sync for TargetOutcome
impl Unpin for TargetOutcome
impl UnwindSafe for TargetOutcome
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