pub struct FSDictionaryLoader;Implementations§
Source§impl FSDictionaryLoader
impl FSDictionaryLoader
pub fn new() -> Self
pub fn load_from_path<P: AsRef<Path>>( &self, dict_path: P, ) -> LinderaResult<Dictionary>
Trait Implementations§
Source§impl Default for FSDictionaryLoader
impl Default for FSDictionaryLoader
Source§impl DictionaryLoader for FSDictionaryLoader
impl DictionaryLoader for FSDictionaryLoader
Source§fn load_from_path(&self, dict_path: &Path) -> LinderaResult<Dictionary>
fn load_from_path(&self, dict_path: &Path) -> LinderaResult<Dictionary>
Load dictionary from a specific path (optional for embedded loaders)
Source§fn load(&self) -> LinderaResult<Dictionary>
fn load(&self) -> LinderaResult<Dictionary>
Load dictionary from configured location or embedded data
Auto Trait Implementations§
impl Freeze for FSDictionaryLoader
impl RefUnwindSafe for FSDictionaryLoader
impl Send for FSDictionaryLoader
impl Sync for FSDictionaryLoader
impl Unpin for FSDictionaryLoader
impl UnwindSafe for FSDictionaryLoader
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