pub struct Dict { /* private fields */ }Expand description
Container for unhashed dictionary
Implementations§
Source§impl Dict
impl Dict
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create a hash dictionary with a reserved capacity
Sourcepub fn load<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
pub fn load<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
Load hash dictionary entries from a file
Auto Trait Implementations§
impl Freeze for Dict
impl RefUnwindSafe for Dict
impl Send for Dict
impl Sync for Dict
impl Unpin for Dict
impl UnsafeUnpin for Dict
impl UnwindSafe for Dict
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