pub struct EngineerCraftEventStringChange {
pub value_str: String,
pub value_str_localized: String,
}
Expand description
Replacement of a certain string.
Fields§
§value_str: String
New value of the string for the given modifier.
value_str_localized: String
New localized value of the string for the given modifier.
Trait Implementations§
Source§impl Clone for EngineerCraftEventStringChange
impl Clone for EngineerCraftEventStringChange
Source§fn clone(&self) -> EngineerCraftEventStringChange
fn clone(&self) -> EngineerCraftEventStringChange
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 EngineerCraftEventStringChange
impl<'de> Deserialize<'de> for EngineerCraftEventStringChange
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 EngineerCraftEventStringChange
impl PartialEq for EngineerCraftEventStringChange
Source§fn eq(&self, other: &EngineerCraftEventStringChange) -> bool
fn eq(&self, other: &EngineerCraftEventStringChange) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EngineerCraftEventStringChange
Auto Trait Implementations§
impl Freeze for EngineerCraftEventStringChange
impl RefUnwindSafe for EngineerCraftEventStringChange
impl Send for EngineerCraftEventStringChange
impl Sync for EngineerCraftEventStringChange
impl Unpin for EngineerCraftEventStringChange
impl UnwindSafe for EngineerCraftEventStringChange
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