Trait static_init::Generator
source · [−]pub trait Generator<T>: GeneratorTolerance {
fn generate(&self) -> T;
}
Expand description
Generates a value of type T
pub trait Generator<T>: GeneratorTolerance {
fn generate(&self) -> T;
}
Generates a value of type T