Struct std::rand::Weighted

pub struct Weighted<T> {
    weight: uint,
    item: T,
}

A value with a particular weight compared to other values