Docs.rs
cap-rand-1.0.15
cap-rand 1.0.15
Docs.rs crate page
Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
Links
Repository
crates.io
Source
Owners
sunfishcode
wasmtime-publish
Dependencies
ambient-authority ^0.0.2
normal
rand ^0.8.1
normal
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Weight
Implementations on Foreign Types
f32
f64
i128
i16
i32
i64
i8
isize
u128
u16
u32
u64
u8
usize
Implementors
In cap_rand::distributions::weighted::alias_method
?
Trait
cap_rand
::
distributions
::
weighted
::
alias_method
::
Weight
source
·
[
−
]
pub trait Weight { }
👎
Deprecated since 0.8.0: moved to rand_distr crate
Implementations on Foreign Types
§
source
§
impl
Weight
for
u16
source
§
impl
Weight
for
i64
source
§
impl
Weight
for
u128
source
§
impl
Weight
for
f32
source
§
impl
Weight
for
f64
source
§
impl
Weight
for
i8
source
§
impl
Weight
for
u8
source
§
impl
Weight
for
i128
source
§
impl
Weight
for
i32
source
§
impl
Weight
for
u64
source
§
impl
Weight
for
u32
source
§
impl
Weight
for
isize
source
§
impl
Weight
for
i16
source
§
impl
Weight
for
usize
Implementors
§