pub struct LocaleEntry {
pub category: Option<String>,
pub key: String,
pub value: String,
}Fields§
§category: Option<String>Factorio category name (e.g. mod-setting-name), if any.
key: StringLocale key (e.g. msr-casual-mode).
value: StringTranslated / English template string.
Trait Implementations§
Source§impl Clone for LocaleEntry
impl Clone for LocaleEntry
Source§fn clone(&self) -> LocaleEntry
fn clone(&self) -> LocaleEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocaleEntry
impl Debug for LocaleEntry
impl Eq for LocaleEntry
Source§impl PartialEq for LocaleEntry
impl PartialEq for LocaleEntry
impl StructuralPartialEq for LocaleEntry
Auto Trait Implementations§
impl Freeze for LocaleEntry
impl RefUnwindSafe for LocaleEntry
impl Send for LocaleEntry
impl Sync for LocaleEntry
impl Unpin for LocaleEntry
impl UnsafeUnpin for LocaleEntry
impl UnwindSafe for LocaleEntry
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