Enum arcdps::evtc::effect::EffectDuration
source · pub enum EffectDuration {
Time(u16),
TrackingId(u16),
}
Expand description
Duration of an effect in time or as a tracking id.
Variants§
Trait Implementations§
source§impl Clone for EffectDuration
impl Clone for EffectDuration
source§fn clone(&self) -> EffectDuration
fn clone(&self) -> EffectDuration
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 EffectDuration
impl Debug for EffectDuration
source§impl<'de> Deserialize<'de> for EffectDuration
impl<'de> Deserialize<'de> for EffectDuration
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EffectDuration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EffectDuration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EffectDuration
impl Hash for EffectDuration
source§impl Ord for EffectDuration
impl Ord for EffectDuration
source§fn cmp(&self, other: &EffectDuration) -> Ordering
fn cmp(&self, other: &EffectDuration) -> 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 EffectDuration
impl PartialEq for EffectDuration
source§fn eq(&self, other: &EffectDuration) -> bool
fn eq(&self, other: &EffectDuration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EffectDuration
impl PartialOrd for EffectDuration
source§fn partial_cmp(&self, other: &EffectDuration) -> Option<Ordering>
fn partial_cmp(&self, other: &EffectDuration) -> 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 EffectDuration
impl Serialize for EffectDuration
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 EffectDuration
impl Eq for EffectDuration
impl StructuralPartialEq for EffectDuration
Auto Trait Implementations§
impl Freeze for EffectDuration
impl RefUnwindSafe for EffectDuration
impl Send for EffectDuration
impl Sync for EffectDuration
impl Unpin for EffectDuration
impl UnwindSafe for EffectDuration
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