pub struct Tr {
pub entries: Vec<TrEntry>,
pub args: Vec<TrArg>,
pub span: Span,
}Expand description
tr! { "zh-Hans" => "…{count}…", "en" => "…"; count: app.count }
Fields§
§entries: Vec<TrEntry>§args: Vec<TrArg>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl !Send for Tr
impl !Sync for Tr
impl Freeze for Tr
impl RefUnwindSafe for Tr
impl Unpin for Tr
impl UnsafeUnpin for Tr
impl UnwindSafe for Tr
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