# Weight in rand::distributions::weighted::alias_method - Rust
API documentation for the Rust `Weight` trait in crate `rand`.
Keywords: rust, rustlang, rust-lang, Weight

# Trait 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 f64

source

### impl Weight for f32

source

### impl Weight for u8

source

### impl Weight for u16

source

### impl Weight for u32

source

### impl Weight for u64

source

### impl Weight for usize

source

### impl Weight for i8

source

### impl Weight for i16

source

### impl Weight for i32

source

### impl Weight for i64

source

### impl Weight for isize

source

### impl Weight for u128

source

### impl Weight for i128

## Implementors