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 Freeze for Table
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