context-trait
Runtime-synthesized trait instances using function pointer tables, scoped to a callback.
This crate provides [WithContext], a wrapper that pairs a value with
a context supplying trait implementations. Built-in contexts include
[OrdContext], [HashContext], and [DisplayContext].
Declarative macros [with_ord!], [with_hash!], and [with_display!]
make it easy to use non-default trait implementations in a scoped block.
The [impl_context_trait!] macro lets users define new context types
for arbitrary traits.
Examples
use ;
let items = vec!;
with_ord!;