pub enum TriggerKind {
Act,
Event,
}
Expand description
Determines what types may be triggered.
Variants§
Trait Implementations§
Source§impl Clone for TriggerKind
impl Clone for TriggerKind
Source§fn clone(&self) -> TriggerKind
fn clone(&self) -> TriggerKind
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 TriggerKind
impl Debug for TriggerKind
Source§impl<'de> Deserialize<'de> for TriggerKind
impl<'de> Deserialize<'de> for TriggerKind
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 Display for TriggerKind
impl Display for TriggerKind
Source§impl EnumDebug for TriggerKind
impl EnumDebug for TriggerKind
Source§fn type_name() -> &'static str
fn type_name() -> &'static str
Returns the static name of the type used for EnumDebug-printing. Read more
Source§fn variant_names() -> &'static [&'static str]
fn variant_names() -> &'static [&'static str]
Returns all variants in the trait as a list of names. Read more
Source§fn variant_name(&self) -> &'static str
fn variant_name(&self) -> &'static str
Returns the static name of the variant. Read more
Source§fn variant(&self) -> EnumDebugFormatter<'_, Self>
fn variant(&self) -> EnumDebugFormatter<'_, Self>
Returns a formatter for this enum that writes its variant name. Read more
Source§impl FromStr for TriggerKind
impl FromStr for TriggerKind
Source§impl Hash for TriggerKind
impl Hash for TriggerKind
Source§impl PartialEq for TriggerKind
impl PartialEq for TriggerKind
Source§impl Serialize for TriggerKind
impl Serialize for TriggerKind
impl Copy for TriggerKind
impl Eq for TriggerKind
impl StructuralPartialEq for TriggerKind
Auto Trait Implementations§
impl Freeze for TriggerKind
impl RefUnwindSafe for TriggerKind
impl Send for TriggerKind
impl Sync for TriggerKind
impl Unpin for TriggerKind
impl UnwindSafe for TriggerKind
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