Trait preserves::value::repr::Domain

source ·
pub trait Domain: Sized + Debug + Eq + Hash + Ord {
    // Provided method
    fn debug_encode<W: Writer>(&self, w: &mut W) -> Result<()> { ... }
}
Expand description

A Domain implementation allows a Rust value to be placed as a Preserves embedded value inside a Preserves term. (See also Embeddable.)

Provided Methods§

source

fn debug_encode<W: Writer>(&self, w: &mut W) -> Result<()>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<D: Domain> Domain for Arc<D>

Implementors§