pub trait SubtypeCheck<F, T, E> {
// Required method
fn check_is_valid_subtype(&self) -> Result<(), E>;
}Expand description
Conversion trait used internally by the subtype_of macro.
pub trait SubtypeCheck<F, T, E> {
// Required method
fn check_is_valid_subtype(&self) -> Result<(), E>;
}Conversion trait used internally by the subtype_of macro.