Enum evtc::agent::BreakbarState
source · #[repr(u16)]pub enum BreakbarState {
Active = 0,
Recover = 1,
Immune = 2,
None = 3,
Unknown(u16),
}
Expand description
Breakbar (defiance bar) states.
Occurs in StateChange::BreakbarState
events.
Variants§
Active = 0
Defiance bar active.
Recover = 1
Defiance bar recovering.
Immune = 2
Defiance bar immune.
None = 3
No defiance.
Unknown(u16)
Unknown state.
Trait Implementations§
source§impl Clone for BreakbarState
impl Clone for BreakbarState
source§fn clone(&self) -> BreakbarState
fn clone(&self) -> BreakbarState
Returns a copy 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 BreakbarState
impl Debug for BreakbarState
source§impl<'de> Deserialize<'de> for BreakbarState
impl<'de> Deserialize<'de> for BreakbarState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BreakbarState> for u16
impl From<BreakbarState> for u16
source§fn from(enum_value: BreakbarState) -> Self
fn from(enum_value: BreakbarState) -> Self
Converts to this type from the input type.
source§impl From<u16> for BreakbarState
impl From<u16> for BreakbarState
source§impl FromPrimitive for BreakbarState
impl FromPrimitive for BreakbarState
source§impl Hash for BreakbarState
impl Hash for BreakbarState
source§impl Ord for BreakbarState
impl Ord for BreakbarState
source§fn cmp(&self, other: &BreakbarState) -> Ordering
fn cmp(&self, other: &BreakbarState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BreakbarState
impl PartialEq for BreakbarState
source§fn eq(&self, other: &BreakbarState) -> bool
fn eq(&self, other: &BreakbarState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BreakbarState
impl PartialOrd for BreakbarState
source§fn partial_cmp(&self, other: &BreakbarState) -> Option<Ordering>
fn partial_cmp(&self, other: &BreakbarState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BreakbarState
impl Serialize for BreakbarState
impl Copy for BreakbarState
impl Eq for BreakbarState
impl StructuralPartialEq for BreakbarState
Auto Trait Implementations§
impl Freeze for BreakbarState
impl RefUnwindSafe for BreakbarState
impl Send for BreakbarState
impl Sync for BreakbarState
impl Unpin for BreakbarState
impl UnwindSafe for BreakbarState
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