pub enum NpcKillStealProtectionState {
Unprotected,
Protected,
Unrecognized(i32),
}
Expand description
Flag to indicate whether you are able to attack an NPC
Variants§
Trait Implementations§
Source§impl Clone for NpcKillStealProtectionState
impl Clone for NpcKillStealProtectionState
Source§fn clone(&self) -> NpcKillStealProtectionState
fn clone(&self) -> NpcKillStealProtectionState
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 NpcKillStealProtectionState
impl Debug for NpcKillStealProtectionState
Source§impl From<NpcKillStealProtectionState> for i32
impl From<NpcKillStealProtectionState> for i32
Source§fn from(value: NpcKillStealProtectionState) -> i32
fn from(value: NpcKillStealProtectionState) -> i32
Converts to this type from the input type.
Source§impl From<i32> for NpcKillStealProtectionState
impl From<i32> for NpcKillStealProtectionState
impl Copy for NpcKillStealProtectionState
impl Eq for NpcKillStealProtectionState
impl StructuralPartialEq for NpcKillStealProtectionState
Auto Trait Implementations§
impl Freeze for NpcKillStealProtectionState
impl RefUnwindSafe for NpcKillStealProtectionState
impl Send for NpcKillStealProtectionState
impl Sync for NpcKillStealProtectionState
impl Unpin for NpcKillStealProtectionState
impl UnwindSafe for NpcKillStealProtectionState
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