pub trait ParamSource {
// Required method
fn get(&mut self, name: &str) -> Option<Param>;
}Expand description
Supplies a stage’s parameters on demand, by name. None means “not mine”
(the runtime leaves the param unset — useful when a source only owns a shard).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl ParamSource for HashMap<String, Param>
A HashMap<String, Param> is a source (mixed f32 / packed).
impl ParamSource for HashMap<String, Param>
A HashMap<String, Param> is a source (mixed f32 / packed).
Source§impl ParamSource for HashMap<String, Vec<f32>>
A HashMap<String, Vec<f32>> is a source (dense f32; clones on read).
impl ParamSource for HashMap<String, Vec<f32>>
A HashMap<String, Vec<f32>> is a source (dense f32; clones on read).