pub trait ToAppendable<H, A>where
A: Appendable,{
// Required method
fn get_appendable<'a>(&'a self, handle: &'a H) -> &'a A;
}
Expand description
A trait to be implemented on types such as Database
that allow converting handles
to appendables.
It is very similar to the std::ops::Index
trait, but returns a reference instead
of a value, such that an efficient identifity implementation is possible, that doesn’t
require cloning values.