Skip to main content

Embeddable

Trait Embeddable 

Source
pub trait Embeddable {
    // Provided method
    fn to_embedding(&self, _: Vec<u8>) -> Vec<f32> { ... }
}

Provided Methods§

Source

fn to_embedding(&self, _: Vec<u8>) -> Vec<f32>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§