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) -> Stream

fn range(&self) -> StreamBuilder

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

fn search<A: Automaton>(&self, aut: A) -> StreamBuilder<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 op(&self) -> OpBuilder

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

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

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

Trait Implementations

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

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

The type of the item emitted by the stream.

type Into = Stream<'f>

The type of the stream to be constructed.

fn into_stream(self) -> Self::Into

Construct a stream from Self.