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

Methods

impl Solver
[src]

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
[src]

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