Enum PierceLevelError
#[non_exhaustive]pub enum PierceLevelError {
WrongSide,
Stale,
NotArrow,
}Expand description
Why a projectile’s pierce level is unavailable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WrongSide
The host is not a logical server.
Stale
The projectile handle is stale or unavailable.
NotArrow
The projectile has no arrow state.
Trait Implementations§
§impl Clone for PierceLevelError
impl Clone for PierceLevelError
§fn clone(&self) -> PierceLevelError
fn clone(&self) -> PierceLevelError
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 moreimpl Copy for PierceLevelError
§impl Debug for PierceLevelError
impl Debug for PierceLevelError
impl Eq for PierceLevelError
§impl NoBackend for PierceLevelError
impl NoBackend for PierceLevelError
§fn no_backend() -> PierceLevelError
fn no_backend() -> PierceLevelError
The error for a host without a game.
§impl PartialEq for PierceLevelError
impl PartialEq for PierceLevelError
impl StructuralPartialEq for PierceLevelError
Auto Trait Implementations§
impl Freeze for PierceLevelError
impl RefUnwindSafe for PierceLevelError
impl Send for PierceLevelError
impl Sync for PierceLevelError
impl Unpin for PierceLevelError
impl UnsafeUnpin for PierceLevelError
impl UnwindSafe for PierceLevelError
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