pub enum EffectEndReason {
Removed,
Expired,
ConcentrationReplaced,
ConcentrationBroken,
SourceRemoved,
Undone,
}Expand description
Why an effect ended.
Variants§
Removed
Expired
ConcentrationReplaced
The source started concentrating on something else.
ConcentrationBroken
The source dropped to 0 HP.
SourceRemoved
The source left the combat.
Undone
The command that added it was undone.
Trait Implementations§
Source§impl Clone for EffectEndReason
impl Clone for EffectEndReason
Source§fn clone(&self) -> EffectEndReason
fn clone(&self) -> EffectEndReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for EffectEndReason
impl ComposeSchema for EffectEndReason
Source§impl Debug for EffectEndReason
impl Debug for EffectEndReason
Source§impl<'de> Deserialize<'de> for EffectEndReason
impl<'de> Deserialize<'de> for EffectEndReason
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 PartialEq for EffectEndReason
impl PartialEq for EffectEndReason
Source§fn eq(&self, other: &EffectEndReason) -> bool
fn eq(&self, other: &EffectEndReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EffectEndReason
impl Serialize for EffectEndReason
Source§impl ToSchema for EffectEndReason
impl ToSchema for EffectEndReason
impl Copy for EffectEndReason
impl Eq for EffectEndReason
impl StructuralPartialEq for EffectEndReason
Auto Trait Implementations§
impl Freeze for EffectEndReason
impl RefUnwindSafe for EffectEndReason
impl Send for EffectEndReason
impl Sync for EffectEndReason
impl Unpin for EffectEndReason
impl UnsafeUnpin for EffectEndReason
impl UnwindSafe for EffectEndReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.