<h3id='tymethod.gen_uint'class='method stab '><code>fn <ahref='#tymethod.gen_uint'class='fnname'>gen_uint</a>(&mut self, bits: <aclass='primitive'href='https://doc.rust-lang.org/nightly/std/primitive.usize.html'>usize</a>) -><aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a></code></h3><divclass='docblock'><p>Generate a random unsigned <code>Int</code> of given bit size.</p>
</div><h3id='tymethod.gen_int'class='method stab '><code>fn <ahref='#tymethod.gen_int'class='fnname'>gen_int</a>(&mut self, bits: <aclass='primitive'href='https://doc.rust-lang.org/nightly/std/primitive.usize.html'>usize</a>) -><aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a></code></h3><divclass='docblock'><p>Generate a random <code>Int</code> of given bit size.</p>
</div><h3id='tymethod.gen_uint_below'class='method stab '><code>fn <ahref='#tymethod.gen_uint_below'class='fnname'>gen_uint_below</a>(&mut self, bound: &<aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a>) -><aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a></code></h3><divclass='docblock'><p>Generate a random unsigned <code>Int</code> less than the given bound.
Fails when the bound is zero or negative.</p>
</div><h3id='tymethod.gen_int_range'class='method stab '><code>fn <ahref='#tymethod.gen_int_range'class='fnname'>gen_int_range</a>(&mut self, lbound: &<aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a>, ubound: &<aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a>) -><aclass='struct'href='../../ramp/int/struct.Int.html'title='ramp::int::Int'>Int</a></code></h3><divclass='docblock'><p>Generate a random <code>Int</code> within the given range.
The lower bound is inclusive; the upper bound is exclusive.
Fails when the upper bound is not greater than the lower bound.</p>