Enum evtc::buff::BuffStackType
source · #[repr(u8)]pub enum BuffStackType {
StackingConditionalLoss = 0,
Queue = 1,
CappedDuration = 2,
Regeneration = 3,
Stacking = 4,
Force = 5,
}
Expand description
Buff stacking behavior.
Occurs in BuffInfo
.
Variants§
StackingConditionalLoss = 0
Stacking in intensity with conditional loss.
Similar to BuffStackType::Stacking
.
Queue = 1
Stacking in duration with queue.
CappedDuration = 2
Stacking in duration with cap.
Regeneration = 3
Regeneration-like stacking in duration.
Stacking = 4
Stacking in intensity.
Force = 5
No stacking. Force override.
Trait Implementations§
source§impl Clone for BuffStackType
impl Clone for BuffStackType
source§fn clone(&self) -> BuffStackType
fn clone(&self) -> BuffStackType
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 BuffStackType
impl Debug for BuffStackType
source§impl<'de> Deserialize<'de> for BuffStackType
impl<'de> Deserialize<'de> for BuffStackType
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<BuffStackType> for u8
impl From<BuffStackType> for u8
source§fn from(enum_value: BuffStackType) -> Self
fn from(enum_value: BuffStackType) -> Self
Converts to this type from the input type.
source§impl Hash for BuffStackType
impl Hash for BuffStackType
source§impl Ord for BuffStackType
impl Ord for BuffStackType
source§fn cmp(&self, other: &BuffStackType) -> Ordering
fn cmp(&self, other: &BuffStackType) -> 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 BuffStackType
impl PartialEq for BuffStackType
source§fn eq(&self, other: &BuffStackType) -> bool
fn eq(&self, other: &BuffStackType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BuffStackType
impl PartialOrd for BuffStackType
source§fn partial_cmp(&self, other: &BuffStackType) -> Option<Ordering>
fn partial_cmp(&self, other: &BuffStackType) -> 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 BuffStackType
impl Serialize for BuffStackType
source§impl TryFrom<u8> for BuffStackType
impl TryFrom<u8> for BuffStackType
§type Error = TryFromPrimitiveError<BuffStackType>
type Error = TryFromPrimitiveError<BuffStackType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for BuffStackType
impl TryFromPrimitive for BuffStackType
type Primitive = u8
type Error = TryFromPrimitiveError<BuffStackType>
const NAME: &'static str = "BuffStackType"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BuffStackType
impl Eq for BuffStackType
impl StructuralPartialEq for BuffStackType
Auto Trait Implementations§
impl Freeze for BuffStackType
impl RefUnwindSafe for BuffStackType
impl Send for BuffStackType
impl Sync for BuffStackType
impl Unpin for BuffStackType
impl UnwindSafe for BuffStackType
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