pub struct FloatModel<F> where
    F: Float
{ /* private fields */ }

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

The internal representation to use for storing integers

The type of symbol this [Model] describes

Invalid symbol error

Given a symbol, return an interval representing the probability of that symbol occurring. Read more

The maximum denominator used for probability ranges. See [Model::probability]. Read more

Given a value, return the symbol whose probability range it falls in. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The internal representation to use for storing integers

The type of symbol this [Model] describes

Invalid symbol error

Given a symbol, return an interval representing the probability of that symbol occurring. Read more

The maximum denominator used for probability ranges. See [Model::probability]. Read more

Given a value, return the symbol whose probability range it falls in. Read more

The total number of sumbols to encode

The denominator for probability ranges. See [Model::probability]. Read more

Update the current state of the model with the latest symbol. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.