MCPcopy Create free account
hub / github.com/PerroEngine/Perro / next_range_i32

Method next_range_i32

perro_source/api_modules/perro_modules/src/random.rs:387–389  ·  view source on GitHub ↗
(&mut self, min: i32, max: i32)

Source from the content-addressed store, hash-verified

385
386 #[inline]
387 pub fn next_range_i32(&mut self, min: i32, max: i32) -> i32 {
388 self.next_range(min, max)
389 }
390
391 #[inline]
392 pub fn next_chance(&mut self, probability: f32) -> bool {

Callers 1

Calls 1

next_rangeMethod · 0.80

Tested by 1