Macro time::ensure_value_in_range
source · macro_rules! ensure_value_in_range { ($value:ident in $start:expr => $end:expr) => { ... }; ($value:ident conditionally in $start:expr => $end:expr) => { ... }; }
Expand description
Returns Err(error::ComponentRange)
if the value is not in range.