pub trait ArgMeta {
// Provided method
fn default_value() -> Option<ScriptValue> { ... }
}Expand description
Describes an argument to a script function. Provides necessary information for the function to handle dispatch.
Provided Methods§
Sourcefn default_value() -> Option<ScriptValue>
fn default_value() -> Option<ScriptValue>
The default value for the argument. Used when the argument is not provided.
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.