Trait Repr

Source
pub trait Repr {
    type Value;

    // Required method
    fn extract(&self) -> Self::Value;
}
Expand description

Similar to From<&U> for T

Required Associated Types§

Source

type Value

The value that this struct encodes

Required Methods§

Source

fn extract(&self) -> Self::Value

extract the contained value

Implementors§