Struct lindera_core::dictionary::Dictionary
source · pub struct Dictionary {
pub dict: PrefixDict<Vec<u8>>,
pub cost_matrix: ConnectionCostMatrix,
pub char_definitions: CharacterDefinitions,
pub unknown_dictionary: UnknownDictionary,
pub words_idx_data: Cow<'static, [u8]>,
pub words_data: Cow<'static, [u8]>,
}
Fields§
§dict: PrefixDict<Vec<u8>>
§cost_matrix: ConnectionCostMatrix
§char_definitions: CharacterDefinitions
§unknown_dictionary: UnknownDictionary
§words_idx_data: Cow<'static, [u8]>
§words_data: Cow<'static, [u8]>
Implementations§
source§impl Dictionary
impl Dictionary
Trait Implementations§
source§impl Clone for Dictionary
impl Clone for Dictionary
source§fn clone(&self) -> Dictionary
fn clone(&self) -> Dictionary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for Dictionary
impl<'de> Deserialize<'de> for Dictionary
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Dictionary
impl RefUnwindSafe for Dictionary
impl Send for Dictionary
impl Sync for Dictionary
impl Unpin for Dictionary
impl UnwindSafe for Dictionary
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