Crate compacts_prim [] [src]

Traits

Bounded

Numbers which have upper and lower bounds

Cast

An interface for casting between machine scalars.

Int
One

Defines a multiplicative identity element for Self.

Unsigned

A trait for values which cannot be negative

UnsignedInt
Zero

Defines an additive identity element for Self.

Functions

search

Find the smallest index i in range at which f(i) is true, assuming that f(i) == true implies f(i+1) == true.