Crate limit

Crate limit 

Source
Expand description

A simple crate to limit values using range syntax.

Specifically, start.., ..=end, start..=end, and .. are supported.

There is a separate trait for floating point types, due to coherence rules.

Traitsยง

Limit
Adds the limit method.
LimitBounds
Types that can be used as bounds for Limit.
LimitFloat
Adds the limit method for floating point types.
LimitFloatBounds
Types that can be used as bounds for LimitFloat.