SampleSize

Trait SampleSize 

Source
pub trait SampleSize {
    type Extended: Sample;
}
Expand description

A trait for defining the size of a sample.

Required Associated Types§

Source

type Extended: Sample

The internal integer size used with Stream::iter.

Rather than making the user of Stream::iter will remember what the extended size of the output sample will be, this is to map to the value based on the current integer size used.

Implementations on Foreign Types§

Source§

impl SampleSize for i8

Source§

impl SampleSize for i16

Source§

impl SampleSize for i32

Implementors§