Enum oxygengine::core::scripting::intuicio::core::prelude::FunctionBody
pub enum FunctionBody {
Pointer(fn(_: &mut Context, _: &Registry)),
Closure(Arc<dyn Fn(&mut Context, &Registry) + Send + Sync, Global>),
}
Variants§
Pointer(fn(_: &mut Context, _: &Registry))
Closure(Arc<dyn Fn(&mut Context, &Registry) + Send + Sync, Global>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FunctionBody
impl Send for FunctionBody
impl Sync for FunctionBody
impl Unpin for FunctionBody
impl !UnwindSafe for FunctionBody
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