Function exclusive_minimum
Source pub const fn exclusive_minimum<T>(value: T) -> LowerBound<T>
examples/basic_usage.rs (
line 4)
3fn main() {
4 let lower = exclusive_minimum(0);
5 let upper = maximum(10);
6
7 assert!(lower.allows(&1));
8 assert!(upper.allows(&10));
9}