Trait IntoRuleOverload

Source
pub trait IntoRuleOverload<Marker> {
    type Target: RuleOverload + 'static;

    // Required method
    fn into_overload(self) -> Self::Target;
}
Expand description

Trait for things convertible into rule overloads

Required Associated Types§

Source

type Target: RuleOverload + 'static

Required Methods§

Source

fn into_overload(self) -> Self::Target

Implementors§

Source§

impl<L: GeoType + 'static, R: GeoType + 'static, N: Node + 'static, F: Fn(L, R, &mut CompileContext, Properties, bool, ProcNum) -> N + 'static> IntoRuleOverload<(L, R, F)> for F

Source§

impl<T: RuleOverload + 'static> IntoRuleOverload<T> for T