--- source: packages/perchance/tests/public-api.rs expression: "::ark_public_api_test::list_public_api(::ark_public_api_test::Options {\n target: None,\n }).unwrap()" --- pub mod perchance pub struct perchance::PerchanceContext(_) impl perchance::PerchanceContext pub fn perchance::PerchanceContext::choose<'slice, T>(&mut self, slice: &'slice [T]) -> &'slice T pub fn perchance::PerchanceContext::choose_it(&mut self, it: impl core::iter::traits::iterator::Iterator) -> core::option::Option pub fn perchance::PerchanceContext::choose_mut<'slice, T>(&mut self, slice: &'slice mut [T]) -> &'slice mut T pub fn perchance::PerchanceContext::get_bool(&mut self) -> bool pub fn perchance::PerchanceContext::get_u128(&mut self) -> u128 pub fn perchance::PerchanceContext::get_u32(&mut self) -> u32 pub fn perchance::PerchanceContext::get_u64(&mut self) -> u64 pub const fn perchance::PerchanceContext::new(seed: u128) -> Self pub fn perchance::PerchanceContext::normal_f32(&mut self) -> f32 pub fn perchance::PerchanceContext::normal_vec2(&mut self) -> glam::f32::vec2::Vec2 pub fn perchance::PerchanceContext::normal_vec3(&mut self) -> glam::f32::vec3::Vec3 pub fn perchance::PerchanceContext::shuffle(&mut self, slice: &mut [T]) pub fn perchance::PerchanceContext::u64_less_than(&mut self, max: u64) -> u64 pub fn perchance::PerchanceContext::uniform_bounds_vec3(&mut self, bounds: macaw::bounding_box::BoundingBox) -> glam::f32::vec3::Vec3 pub fn perchance::PerchanceContext::uniform_circle_area_vec2(&mut self) -> glam::f32::vec2::Vec2 pub fn perchance::PerchanceContext::uniform_circle_edge_vec2(&mut self) -> glam::f32::vec2::Vec2 pub fn perchance::PerchanceContext::uniform_cube_vec3>(&mut self, range: R) -> glam::f32::vec3::Vec3 pub fn perchance::PerchanceContext::uniform_disc_vec2(&mut self) -> glam::f32::vec2::Vec2 pub fn perchance::PerchanceContext::uniform_f32(&mut self) -> f32 pub fn perchance::PerchanceContext::uniform_f64(&mut self) -> f64 pub fn perchance::PerchanceContext::uniform_range_f32>(&mut self, range: R) -> f32 pub fn perchance::PerchanceContext::uniform_range_i32>(&mut self, range: R) -> i32 pub fn perchance::PerchanceContext::uniform_range_usize>(&mut self, range: R) -> usize pub fn perchance::PerchanceContext::uniform_rectangle_vec2(&mut self, min: glam::f32::vec2::Vec2, max: glam::f32::vec2::Vec2) -> glam::f32::vec2::Vec2 pub fn perchance::PerchanceContext::uniform_sphere_surface_vec3(&mut self) -> glam::f32::vec3::Vec3 pub fn perchance::PerchanceContext::uniform_sphere_volume_vec3(&mut self) -> glam::f32::vec3::Vec3 pub fn perchance::PerchanceContext::uniform_square_vec2>(&mut self, range: R) -> glam::f32::vec2::Vec2 pub fn perchance::PerchanceContext::usize_less_than(&mut self, end: usize) -> usize pub fn perchance::PerchanceContext::weighted_choice_f32(&mut self, weights: &[f32]) -> usize pub fn perchance::PerchanceContext::weighted_choices_f32(&mut self, weights: &[f32]) -> perchance::WeightedSampler<'_> impl core::clone::Clone for perchance::PerchanceContext pub fn perchance::PerchanceContext::clone(&self) -> perchance::PerchanceContext pub struct perchance::WeightedSampler<'a> impl<'a> perchance::WeightedSampler<'a> pub fn perchance::WeightedSampler<'a>::sample(&mut self) -> usize pub fn perchance::gen_time_seed() -> u128 pub fn perchance::global<'a>() -> std::sync::mutex::MutexGuard<'a, perchance::PerchanceContext> pub fn perchance::global_has_been_seeded() -> bool pub fn perchance::seed_global(seed: u128)