pub trait TypeOption {
// Required method
fn is(
&self,
pred: fn(_: &Type, _: &Context<'_>) -> bool,
context: &Context<'_>,
) -> bool;
}
Expand description
A helper to check if an Option
pub trait TypeOption {
// Required method
fn is(
&self,
pred: fn(_: &Type, _: &Context<'_>) -> bool,
context: &Context<'_>,
) -> bool;
}
A helper to check if an Option