Skip to main content

Document

Trait Document 

Source
pub trait Document {
    type Term;
}
Expand description

A body of terms.

Required Associated Types§

Source

type Term

The type of term that the document consists of.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> Document for BTreeMap<T, usize>

Source§

type Term = T

Source§

impl<T> Document for HashMap<T, usize>

Source§

type Term = T

Source§

impl<T> Document for Vec<(T, usize)>

Source§

type Term = T

Implementors§