pub enum FuncKind {
Script,
HostCtx,
HostPure,
}Expand description
Origin of a callable in the unified function registry. Script is an
interpreted FUNC body; HostCtx and HostPure are compiled Rust
functions (the #[oxdock_func] host export macro). Builtins and
runtime-registered hosts share the host kinds; only DESCRIBE output
shows the label, and both host kinds keep rendering as host.
Variants§
Implementations§
Trait Implementations§
impl Copy for FuncKind
impl Eq for FuncKind
impl StructuralPartialEq for FuncKind
Auto Trait Implementations§
impl Freeze for FuncKind
impl RefUnwindSafe for FuncKind
impl Send for FuncKind
impl Sync for FuncKind
impl Unpin for FuncKind
impl UnsafeUnpin for FuncKind
impl UnwindSafe for FuncKind
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