Struct lindera_core::prefix_dict::PrefixDict
source · pub struct PrefixDict<Data = Vec<u8>> {
pub da: DoubleArray<Vec<u8>>,
pub vals_data: Data,
pub is_system: bool,
}
Fields§
§da: DoubleArray<Vec<u8>>
§vals_data: Data
§is_system: bool
Implementations§
source§impl PrefixDict<&[u8]>
impl PrefixDict<&[u8]>
pub fn from_static_slice(da_data: &[u8], vals_data: &[u8]) -> PrefixDict
Trait Implementations§
source§impl<Data: Clone> Clone for PrefixDict<Data>
impl<Data: Clone> Clone for PrefixDict<Data>
source§fn clone(&self) -> PrefixDict<Data>
fn clone(&self) -> PrefixDict<Data>
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, Data> Deserialize<'de> for PrefixDict<Data>where
Data: Deserialize<'de>,
impl<'de, Data> Deserialize<'de> for PrefixDict<Data>where
Data: Deserialize<'de>,
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<Data> Freeze for PrefixDict<Data>where
Data: Freeze,
impl<Data> RefUnwindSafe for PrefixDict<Data>where
Data: RefUnwindSafe,
impl<Data> Send for PrefixDict<Data>where
Data: Send,
impl<Data> Sync for PrefixDict<Data>where
Data: Sync,
impl<Data> Unpin for PrefixDict<Data>where
Data: Unpin,
impl<Data> UnwindSafe for PrefixDict<Data>where
Data: UnwindSafe,
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