Struct fst::Set [] [src]

pub struct Set(_);

Methods

impl Set
[src]

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

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

fn stream(&self) -> SetStream

fn range(&self) -> SetStreamBuilder

fn contains<B: AsRef<[u8]>>(&self, key: B) -> bool

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

fn len(&self) -> usize

fn is_empty(&self) -> bool

fn as_fst(&self) -> &Fst

Trait Implementations

impl<'s, 'a> IntoStream<'a> for &'s Set
[src]

type Item = &'a [u8]

type Into = SetStream<'s>

fn into_stream(self) -> Self::Into