pub trait FromHostArgument: Argument + Sized { }Expand description
An owned or live argument accepted by Rustia’s built-in callback adapters.
Implement FromRustia for custom owned arguments. Live crate::Value,
crate::Table, and Function handles are accepted directly. This trait
is sealed and can be used as a generic bound.
ⓘ
struct CustomArgument;
impl rustia::FromHostArgument for CustomArgument {}Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.