pub trait IntoNativeMethod<T, Marker> {
// Required method
fn into_native(
self,
) -> (Signature, Box<dyn Fn(&mut dyn Context, &[Value]) -> RunResult<Value> + Send + Sync>);
}Expand description
Methods taking &T, for [TypeBuilder::method].
Required Methods§
fn into_native( self, ) -> (Signature, Box<dyn Fn(&mut dyn Context, &[Value]) -> RunResult<Value> + Send + Sync>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".