pub enum NativeFunction {
Uninitialized(String, String),
Ready(NativeEntry),
}Variants§
Uninitialized(String, String)
Ready(NativeEntry)
Implementations§
Source§impl NativeFunction
impl NativeFunction
pub fn invoke( &mut self, rt: &mut dyn GlobalStateProvider, args: &[Value], ) -> ExecuteResult<Option<Value>>
Auto Trait Implementations§
impl !RefUnwindSafe for NativeFunction
impl !Send for NativeFunction
impl !Sync for NativeFunction
impl !UnwindSafe for NativeFunction
impl Freeze for NativeFunction
impl Unpin for NativeFunction
impl UnsafeUnpin for NativeFunction
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