pub enum EngineerCraftEventModifierKind {
ValueChange(EngineerCraftEventValueChange),
StringChange(EngineerCraftEventStringChange),
}
Expand description
The kind of applied modifier/
Variants§
ValueChange(EngineerCraftEventValueChange)
A change in a numeric value.
StringChange(EngineerCraftEventStringChange)
Replacement of a certain string.
Trait Implementations§
Source§impl Clone for EngineerCraftEventModifierKind
impl Clone for EngineerCraftEventModifierKind
Source§fn clone(&self) -> EngineerCraftEventModifierKind
fn clone(&self) -> EngineerCraftEventModifierKind
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<'de> Deserialize<'de> for EngineerCraftEventModifierKind
impl<'de> Deserialize<'de> for EngineerCraftEventModifierKind
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 EngineerCraftEventModifierKind
impl PartialEq for EngineerCraftEventModifierKind
Source§fn eq(&self, other: &EngineerCraftEventModifierKind) -> bool
fn eq(&self, other: &EngineerCraftEventModifierKind) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EngineerCraftEventModifierKind
Auto Trait Implementations§
impl Freeze for EngineerCraftEventModifierKind
impl RefUnwindSafe for EngineerCraftEventModifierKind
impl Send for EngineerCraftEventModifierKind
impl Sync for EngineerCraftEventModifierKind
impl Unpin for EngineerCraftEventModifierKind
impl UnwindSafe for EngineerCraftEventModifierKind
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