pub struct Table { /* private fields */ }
Implementations§
source§impl Table
impl Table
sourcepub fn new_from_locale(
context: &Context,
locale: &OsStr,
flags: CompileFlags
) -> Result<Table, ()>
pub fn new_from_locale( context: &Context, locale: &OsStr, flags: CompileFlags ) -> Result<Table, ()>
Build a table from a locale. The locale is typically obtained from environment variables.
Panics
May panic if the locale contain inner null characters.
pub fn new_from_buffer<T: AsRef<[u8]>>( context: &Context, buffer: T, locale: &str, format: Format, flags: CompileFlags ) -> Result<Table, ()>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Table
impl !Send for Table
impl !Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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