pub struct NamedConfiguration {
pub name: &'static str,
pub chrono: fn() -> &'static Chrono,
pub configuration: fn() -> Configuration,
}Expand description
A named configuration of a generated locale (fi.casual, …).
Fields§
§name: &'static strThe upstream name, as in tests/golden/configurations.json.
chrono: fn() -> &'static ChronoThe built Chrono (lazily, once).
configuration: fn() -> ConfigurationThe slot list, for the configurations test.
Auto Trait Implementations§
impl Forget for NamedConfiguration
impl Freeze for NamedConfiguration
impl RefUnwindSafe for NamedConfiguration
impl Send for NamedConfiguration
impl Sync for NamedConfiguration
impl Unpin for NamedConfiguration
impl UnsafeUnpin for NamedConfiguration
impl UnwindSafe for NamedConfiguration
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