pub struct LocaleEntry {
pub locale: String,
pub sources: Vec<PathBuf>,
}Expand description
One locale’s catalog: the directory name under resource/locales/ (the tag apps pass to
set_locale) and every .ftl beneath it, sorted. Multiple files concatenate into the single
source string the Fluent bundle is built from.
Fields§
§locale: String§sources: Vec<PathBuf>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