pub struct LocaleFile {
pub lang: String,
pub file: String,
pub entries: Vec<LocaleEntry>,
}Fields§
§lang: StringLanguage code (en, de, …).
file: StringFile stem written under locale/<lang>/ (without .cfg).
entries: Vec<LocaleEntry>Implementations§
Trait Implementations§
Source§impl Clone for LocaleFile
impl Clone for LocaleFile
Source§fn clone(&self) -> LocaleFile
fn clone(&self) -> LocaleFile
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 LocaleFile
impl Debug for LocaleFile
impl Eq for LocaleFile
Source§impl PartialEq for LocaleFile
impl PartialEq for LocaleFile
impl StructuralPartialEq for LocaleFile
Auto Trait Implementations§
impl Freeze for LocaleFile
impl RefUnwindSafe for LocaleFile
impl Send for LocaleFile
impl Sync for LocaleFile
impl Unpin for LocaleFile
impl UnsafeUnpin for LocaleFile
impl UnwindSafe for LocaleFile
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