Trait Partial

Source
pub trait Partial {
    type Type;

    // Required method
    fn type_(&self) -> Result<Self::Type>;
}
Expand description

A trait for partial representations of types.

Required Associated Types§

Source

type Type

The type that the partial representation is for.

Required Methods§

Source

fn type_(&self) -> Result<Self::Type>

Converts the partial representation to the original type.

Implementors§