pub trait Typed {
// Required method
fn ty() -> Type;
// Provided method
fn as_param() -> Param { ... }
}
Expand description
Add a lua Type
representation to a rust type
Required Methods§
Provided Methods§
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.