pub struct FunctionRuleOverload<L, R, F>(/* private fields */);
Expand description
A rule overload made from a function.
Trait Implementations§
Source§impl<L: GeoType, R: GeoType, N: Node + 'static, F: Fn(L, R, &mut CompileContext, Properties, bool, ProcNum) -> N> RuleOverload for FunctionRuleOverload<L, R, F>
impl<L: GeoType, R: GeoType, N: Node + 'static, F: Fn(L, R, &mut CompileContext, Properties, bool, ProcNum) -> N> RuleOverload for FunctionRuleOverload<L, R, F>
Auto Trait Implementations§
impl<L, R, F> Freeze for FunctionRuleOverload<L, R, F>where
F: Freeze,
impl<L, R, F> RefUnwindSafe for FunctionRuleOverload<L, R, F>
impl<L, R, F> Send for FunctionRuleOverload<L, R, F>
impl<L, R, F> Sync for FunctionRuleOverload<L, R, F>
impl<L, R, F> Unpin for FunctionRuleOverload<L, R, F>
impl<L, R, F> UnwindSafe for FunctionRuleOverload<L, R, F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Convert for T
impl<T> Convert for T
Source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Convert
self
into a specific type. Read moreSource§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Check if
self
can be converted into a specific type. Read more