pub struct EvalExternalFunction {
pub name: String,
pub func: Box<dyn FnMut(&[Value]) -> Result<Value, ExecuteError>>,
pub id: ExternalFunctionId,
}
Fields§
§name: String
§func: Box<dyn FnMut(&[Value]) -> Result<Value, ExecuteError>>
§id: ExternalFunctionId
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvalExternalFunction
impl !RefUnwindSafe for EvalExternalFunction
impl !Send for EvalExternalFunction
impl !Sync for EvalExternalFunction
impl Unpin for EvalExternalFunction
impl !UnwindSafe for EvalExternalFunction
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