pub enum SkillOutcome {
Success,
Failure,
Partial,
}Expand description
Outcome of a skill usage
Variants§
Success
Skill contributed to a successful result
Failure
Skill did not help or caused failure
Partial
Skill partially helped
Trait Implementations§
Source§impl Clone for SkillOutcome
impl Clone for SkillOutcome
Source§fn clone(&self) -> SkillOutcome
fn clone(&self) -> SkillOutcome
Returns a duplicate 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 SkillOutcome
impl Debug for SkillOutcome
Source§impl<'de> Deserialize<'de> for SkillOutcome
impl<'de> Deserialize<'de> for SkillOutcome
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 SkillOutcome
impl PartialEq for SkillOutcome
Source§impl Serialize for SkillOutcome
impl Serialize for SkillOutcome
impl Copy for SkillOutcome
impl Eq for SkillOutcome
impl StructuralPartialEq for SkillOutcome
Auto Trait Implementations§
impl Freeze for SkillOutcome
impl RefUnwindSafe for SkillOutcome
impl Send for SkillOutcome
impl Sync for SkillOutcome
impl Unpin for SkillOutcome
impl UnsafeUnpin for SkillOutcome
impl UnwindSafe for SkillOutcome
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.