Trait sway_ir::irtype::TypeOption
source · pub trait TypeOption {
fn is(
&self,
pred: fn(_: &Type, _: &Context) -> bool,
context: &Context
) -> bool;
}
Expand description
A helper to check if an Option