pub enum TrigCondition {
Show 66 variants
P1,
P3,
P4,
P6,
P9,
P13,
P19,
P25,
P33,
P41,
P50,
P59,
P67,
P75,
P81,
P87,
P91,
P94,
P96,
P98,
P99,
P100,
Fill,
FillNot,
Pre,
PreNot,
Nei,
NeiNot,
_1st,
_1stNot,
_1B2,
_2B2,
_1B3,
_2B3,
_3B3,
_1B4,
_2B4,
_3B4,
_4B4,
_1B5,
_2B5,
_3B5,
_4B5,
_5B5,
_1B6,
_2B6,
_3B6,
_4B6,
_5B6,
_6B6,
_1B7,
_2B7,
_3B7,
_4B7,
_5B7,
_6B7,
_7B7,
_1B8,
_2B8,
_3B8,
_4B8,
_5B8,
_6B8,
_7B8,
_8B8,
Unset,
}
Expand description
Trig condition of a trig.
Variants§
P1
1% probability.
P3
3% probability.
P4
4% probability.
P6
6% probability.
P9
9% probability.
P13
13% probability.
P19
19% probability.
P25
25% probability.
P33
33% probability.
P41
41% probability.
P50
50% probability.
P59
59% probability.
P67
67% probability.
P75
75% probability.
P81
81% probability.
P87
87% probability.
P91
91% probability.
P94
94% probability.
P96
96% probability.
P98
98% probability.
P99
99% probability.
P100
100% probability.
Fill
FillNot
Pre
PreNot
Nei
NeiNot
_1st
_1stNot
_1B2
_2B2
_1B3
_2B3
_3B3
_1B4
_2B4
_3B4
_4B4
_1B5
_2B5
_3B5
_4B5
_5B5
_1B6
_2B6
_3B6
_4B6
_5B6
_6B6
_1B7
_2B7
_3B7
_4B7
_5B7
_6B7
_7B7
_1B8
_2B8
_3B8
_4B8
_5B8
_6B8
_7B8
_8B8
Unset
Trait Implementations§
source§impl Clone for TrigCondition
impl Clone for TrigCondition
source§fn clone(&self) -> TrigCondition
fn clone(&self) -> TrigCondition
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 TrigCondition
impl Debug for TrigCondition
source§impl Default for TrigCondition
impl Default for TrigCondition
source§fn default() -> TrigCondition
fn default() -> TrigCondition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TrigCondition
impl<'de> Deserialize<'de> for TrigCondition
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<TrigCondition> for &str
impl From<TrigCondition> for &str
source§fn from(condition: TrigCondition) -> Self
fn from(condition: TrigCondition) -> Self
Converts to this type from the input type.
source§impl From<TrigCondition> for u8
impl From<TrigCondition> for u8
source§fn from(value: TrigCondition) -> Self
fn from(value: TrigCondition) -> Self
Converts to this type from the input type.
source§impl Hash for TrigCondition
impl Hash for TrigCondition
source§impl Ord for TrigCondition
impl Ord for TrigCondition
source§fn cmp(&self, other: &TrigCondition) -> Ordering
fn cmp(&self, other: &TrigCondition) -> 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 TrigCondition
impl PartialEq for TrigCondition
source§fn eq(&self, other: &TrigCondition) -> bool
fn eq(&self, other: &TrigCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TrigCondition
impl PartialOrd for TrigCondition
source§fn partial_cmp(&self, other: &TrigCondition) -> Option<Ordering>
fn partial_cmp(&self, other: &TrigCondition) -> 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 TrigCondition
impl Serialize for TrigCondition
source§impl TryFrom<&str> for TrigCondition
impl TryFrom<&str> for TrigCondition
source§impl TryFrom<u8> for TrigCondition
impl TryFrom<u8> for TrigCondition
impl Copy for TrigCondition
impl Eq for TrigCondition
impl StructuralEq for TrigCondition
impl StructuralPartialEq for TrigCondition
Auto Trait Implementations§
impl RefUnwindSafe for TrigCondition
impl Send for TrigCondition
impl Sync for TrigCondition
impl Unpin for TrigCondition
impl UnwindSafe for TrigCondition
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