Struct fst::raw::Fst [] [src]

pub struct Fst {
    // some fields omitted
}

Methods

impl Fst
[src]

fn from_file_path<P: AsRef<Path>>(path: P) -> Result<Self>

fn from_bytes(bytes: Vec<u8>) -> Result<Self>

impl Fst
[src]

fn stream(&self) -> FstStream

fn range(&self) -> FstStreamBuilder

fn find<B: AsRef<[u8]>>(&self, key: B) -> Option<Output>

fn search<A: Automaton>(&self, aut: A) -> FstStreamBuilder<A>

fn fst_type(&self) -> FstType

fn root(&self) -> Node

fn node(&self, addr: CompiledAddr) -> Node

fn as_slice(&self) -> &[u8]

fn len(&self) -> usize

fn is_empty(&self) -> bool

fn is_disjoint<'f, I, S>(&self, stream: I) -> bool where I: for<'a> IntoStream<'a, Into=S, Item=(&'a [u8], Output)>, S: 'f + for<'a> Stream<'a, Item=(&'a [u8], Output)>

fn is_subset<'f, I, S>(&self, stream: I) -> bool where I: for<'a> IntoStream<'a, Into=S, Item=(&'a [u8], Output)>, S: 'f + for<'a> Stream<'a, Item=(&'a [u8], Output)>

fn is_superset<'f, I, S>(&self, stream: I) -> bool where I: for<'a> IntoStream<'a, Into=S, Item=(&'a [u8], Output)>, S: 'f + for<'a> Stream<'a, Item=(&'a [u8], Output)>

Trait Implementations

impl<'a, 'f> IntoStream<'a> for &'f Fst
[src]

type Item = (&'a [u8], Output)

type Into = FstStream<'f>

fn into_stream(self) -> Self::Into