pub enum FunctionRef {
Unary(fn(E) -> E),
Binary(fn(E, E) -> E),
Ternary(fn(E, E, E) -> E),
}Expand description
A scalar function exported by arael-sym, discovered by name. Tagged by arity so callers can validate the argument count without a second table.
Variants§
Trait Implementations§
Source§impl Clone for FunctionRef
impl Clone for FunctionRef
Source§fn clone(&self) -> FunctionRef
fn clone(&self) -> FunctionRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FunctionRef
Auto Trait Implementations§
impl Freeze for FunctionRef
impl RefUnwindSafe for FunctionRef
impl Send for FunctionRef
impl Sync for FunctionRef
impl Unpin for FunctionRef
impl UnsafeUnpin for FunctionRef
impl UnwindSafe for FunctionRef
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