pub struct UserFunction {
pub name: String,
pub params: Vec<Parameter>,
pub body: Box<dyn Any + Send + Sync>,
pub closure: Option<Arc<dyn Any + Send + Sync>>,
}Fields§
§name: String§params: Vec<Parameter>§body: Box<dyn Any + Send + Sync>§closure: Option<Arc<dyn Any + Send + Sync>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserFunction
impl !RefUnwindSafe for UserFunction
impl Send for UserFunction
impl Sync for UserFunction
impl Unpin for UserFunction
impl !UnwindSafe for UserFunction
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