Struct fst::raw::Builder [] [src]

pub struct Builder<W> {
    // some fields omitted
}

Methods

impl Builder<Vec<u8>>
[src]

fn memory() -> Self

impl<W: Write> Builder<W>
[src]

fn new(wtr: W) -> Result<Builder<W>>

fn new_type(wtr: W, ty: FstType) -> Result<Builder<W>>

fn finish(self) -> Result<()>

fn into_inner(self) -> Result<W>

fn add<B>(&mut self, bs: B) -> Result<()> where B: AsRef<[u8]>

fn insert<B>(&mut self, bs: B, val: u64) -> Result<()> where B: AsRef<[u8]>

fn extend_iter<T, I>(&mut self, iter: I) -> Result<()> where T: AsRef<[u8]>, I: IntoIterator<Item=(T, Output)>

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