pub trait Indexable: Clone {
// Required methods
fn get_struct_info() -> StructInfo;
fn as_document(&self) -> TantivyDocument;
fn from_doc(doc: TantivyDocument) -> Self;
fn get_id_term(&self) -> Term;
}
Required Methods§
fn get_struct_info() -> StructInfo
fn as_document(&self) -> TantivyDocument
fn from_doc(doc: TantivyDocument) -> Self
fn get_id_term(&self) -> Term
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.