pub struct Names {
pub singular: &'static str,
pub plural: &'static str,
}Expand description
A tier’s names in one locale: singular and plural.
Fields§
§singular: &'static strOne of them.
plural: &'static strMore than one.
Trait Implementations§
impl Copy for Names
impl Eq for Names
impl StructuralPartialEq for Names
Auto Trait Implementations§
impl Freeze for Names
impl RefUnwindSafe for Names
impl Send for Names
impl Sync for Names
impl Unpin for Names
impl UnsafeUnpin for Names
impl UnwindSafe for Names
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