Struct xiangyun::rand::Solver [] [src]

pub struct Solver { /* fields omitted */ }

Solver is random number solver
Please do not assume that the fields are any type


impl Solver

A lazy way to get a random solver

Insert a new base

Set random solver style

Get handle base

Set the random seed

Lazy way to set the random seed

Get a random number

Get a random number for multibase

Trait Implementations

impl Default for Solver

Returns the "default value" for a type. Read more