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

pub struct PrefixDict<Data = &'static [u8]> {
    pub fst: Fst<Data>,
    pub vals_data: Data,
}

Fields

fst: Fst<Data>vals_data: Data

Methods

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

pub fn from_static_slice(
    fst_data: &'static [u8],
    vals_data: &'static [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 Default for PrefixDict<&'static [u8]>[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, 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.