pub struct Function { /* private fields */ }
Implementations§
§impl Function
impl Function
pub fn new(signature: FunctionSignature, body: FunctionBody) -> Function
pub fn signature(&self) -> &FunctionSignature
pub fn invoke(&self, context: &mut Context, registry: &Registry)
pub fn call<O, I>( &self, context: &mut Context, registry: &Registry, inputs: I, verify: bool ) -> Owhere O: DataStackPack, I: DataStackPack,
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl !UnwindSafe for Function
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