pub struct MDictBuilder { /* private fields */ }Implementations§
Source§impl MDictBuilder
impl MDictBuilder
pub fn new(path: impl Into<PathBuf>) -> Self
pub fn cache_definition(self, cache: bool) -> Self
pub fn cache_resource(self, cache: bool) -> Self
pub fn build(self) -> Result<MDict<impl KeyMaker>>
pub fn build_with_key_maker<M: KeyMaker>(self, key_maker: M) -> Result<MDict<M>>
Auto Trait Implementations§
impl Freeze for MDictBuilder
impl RefUnwindSafe for MDictBuilder
impl Send for MDictBuilder
impl Sync for MDictBuilder
impl Unpin for MDictBuilder
impl UnwindSafe for MDictBuilder
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