pub trait VariableType {
type Output;
// Required methods
fn get_var(name: &str) -> Self::Output;
fn set_var(name: &str, var: Self);
}Expand description
Typ, der an Script-Variablen gebunden werden kann.
Type that can be bound to script variables.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".