[][src]Struct lindera_core::core::prefix_dict::PrefixDict

pub struct PrefixDict<Data = Vec<u8>> {
    pub fst: Fst<Data>,
    pub vals_data: Data,
}

Fields

fst: Fst<Data>vals_data: Data

Methods

impl<'_> PrefixDict<&'_ [u8]>[src]

pub fn from_static_slice(
    fst_data: &[u8],
    vals_data: &[u8]
) -> Result<PrefixDict>
[src]

impl<D: Deref<Target = [u8]>> PrefixDict<D>[src]

pub fn prefix<'a>(
    &'a self,
    s: &'a str
) -> impl Iterator<Item = (usize, WordEntry)> + 'a
[src]

Trait Implementations

impl<Data: Clone> Clone for PrefixDict<Data>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.