pub struct I18n {
pub lang: Lang,
}Fields§
§lang: LangImplementations§
Source§impl I18n
impl I18n
pub fn new(lang: Option<Lang>) -> Self
pub fn save_success(&self, name: &str, path: &str) -> String
pub fn save_err(&self, name: &str, path: &str, err: &str) -> String
pub fn dir_create_err(&self, dir: &str, err: &str) -> String
pub fn skip_binary(&self) -> &'static str
pub fn read_err(&self) -> &'static str
pub fn cli_base_abs(&self, path: &str) -> String
pub fn cli_target_abs(&self, path: &str) -> String
pub fn cli_target_rel(&self, path: &str) -> String
pub fn cli_case_sensitive(&self, val: bool) -> String
pub fn cli_patterns_raw(&self, pat: &str) -> String
pub fn cli_patterns_tok(&self, pat: &str) -> String
pub fn cli_summary_matched(&self, count: usize, total: usize) -> String
pub fn cli_summary_rejected(&self, count: usize, total: usize) -> String
Auto Trait Implementations§
impl Freeze for I18n
impl RefUnwindSafe for I18n
impl Send for I18n
impl Sync for I18n
impl Unpin for I18n
impl UnsafeUnpin for I18n
impl UnwindSafe for I18n
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