Enum arcdps::evtc::buff::BuffApplyKind
source · #[repr(u8)]pub enum BuffApplyKind {
Apply {
duration: i32,
removed_duration: u32,
},
Extend {
new_duration: u32,
duration_change: i32,
},
}
Expand description
Buff apply behavior.
Variants§
Trait Implementations§
source§impl Clone for BuffApplyKind
impl Clone for BuffApplyKind
source§fn clone(&self) -> BuffApplyKind
fn clone(&self) -> BuffApplyKind
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 BuffApplyKind
impl Debug for BuffApplyKind
source§impl<'de> Deserialize<'de> for BuffApplyKind
impl<'de> Deserialize<'de> for BuffApplyKind
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffApplyKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffApplyKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Extract for BuffApplyKind
impl Extract for BuffApplyKind
source§impl Hash for BuffApplyKind
impl Hash for BuffApplyKind
source§impl Ord for BuffApplyKind
impl Ord for BuffApplyKind
source§fn cmp(&self, other: &BuffApplyKind) -> Ordering
fn cmp(&self, other: &BuffApplyKind) -> 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 BuffApplyKind
impl PartialEq for BuffApplyKind
source§fn eq(&self, other: &BuffApplyKind) -> bool
fn eq(&self, other: &BuffApplyKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BuffApplyKind
impl PartialOrd for BuffApplyKind
source§fn partial_cmp(&self, other: &BuffApplyKind) -> Option<Ordering>
fn partial_cmp(&self, other: &BuffApplyKind) -> 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 BuffApplyKind
impl Serialize for BuffApplyKind
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for BuffApplyKind
impl Eq for BuffApplyKind
impl StructuralPartialEq for BuffApplyKind
Auto Trait Implementations§
impl Freeze for BuffApplyKind
impl RefUnwindSafe for BuffApplyKind
impl Send for BuffApplyKind
impl Sync for BuffApplyKind
impl Unpin for BuffApplyKind
impl UnwindSafe for BuffApplyKind
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