pub struct GenerateOptions {
pub formula: GenerateFormula,
pub min: i64,
pub max: i64,
pub len: usize,
}Fields§
§formula: GenerateFormula§min: i64§max: i64§len: usizeImplementations§
Source§impl GenerateOptions
impl GenerateOptions
pub fn with_formula(&mut self, formula: GenerateFormula)
pub fn generate(&self) -> Vec<i64>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenerateOptions
impl RefUnwindSafe for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnwindSafe for GenerateOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more