Trait HasPartial

Source
pub trait HasPartial {
    type Partial;

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

A trait for types that have a partial representation.

Required Associated Types§

Source

type Partial

The partial representation of the type.

Required Methods§

Source

fn partial(&self) -> Self::Partial

Converts the type to its partial representation.

Implementors§