Trait static_init::Generator
source · pub trait Generator<T>: GeneratorTolerance {
// Required method
fn generate(&self) -> T;
}
Expand description
Generates a value of type T
Required Methods§
Object Safety§
This trait is not object safe.