Trait utility_macros_internals::required::Required

source ·
pub trait Required {
    type Type;

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

A trait for required representations of types.

Required Associated Types§

source

type Type

The type that the required representation is for.

Required Methods§

source

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

Converts the required representation to the original type.

Implementors§