[][src]Struct fastrie::Fastrie

pub struct Fastrie<'v, 'd, V> { /* fields omitted */ }

Methods

impl<'_, '_, V> Fastrie<'_, '_, V>[src]

pub const fn from_prebuilt<'v, 'd>(
    values: &'v [V],
    data: &'d [u8]
) -> Fastrie<'v, 'd, V>
[src]

pub fn memory_size(&self) -> usize[src]

pub fn longest_matching_prefix(&self, text: &[u8]) -> Option<FastrieMatch<V>>[src]

Auto Trait Implementations

impl<'v, 'd, V> RefUnwindSafe for Fastrie<'v, 'd, V> where
    V: RefUnwindSafe

impl<'v, 'd, V> Send for Fastrie<'v, 'd, V> where
    V: Sync

impl<'v, 'd, V> Sync for Fastrie<'v, 'd, V> where
    V: Sync

impl<'v, 'd, V> Unpin for Fastrie<'v, 'd, V>

impl<'v, 'd, V> UnwindSafe for Fastrie<'v, 'd, V> where
    V: RefUnwindSafe

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.