Trait WriteEmbeddings

Source
pub trait WriteEmbeddings {
    // Required method
    fn write_embeddings<W>(&self, write: &mut W) -> Result<(), Error>
       where W: Write + Seek;
}
Expand description

Write embeddings in finalfusion format.

This trait is used to write embeddings in finalfusion format. Writing in finalfusion format is supported regardless of the original format of the embeddings.

Required Methods§

Source

fn write_embeddings<W>(&self, write: &mut W) -> Result<(), Error>
where W: Write + Seek,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<V, S> WriteEmbeddings for Embeddings<V, S>
where V: WriteChunk, S: WriteChunk,