Struct xiangyun::rand::Rand [] [src]

pub struct Rand { /* fields omitted */ }

Rand is random number solver
Please don't assume that the fields are any type

Methods

impl Rand
[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