pub trait Lookup {
// Required method
fn lookup(&self, name: &str) -> Option<String>;
}Expand description
Resolves a variable name to its value. Matches variables.Lookup in the
Go original (used by expand.go’s Lookup function type).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".