Macro with_limits

Source
macro_rules! with_limits {
    ($macro_name:ident) => { ... };
}
Expand description

Invoke a macro for each of the limits.

The supplied macro should take two arguments. The first is a limit name, as an identifier, typically used to access a member of struct Limits. The second is Ordering::Less if valid values are less than the limit (the common case), or Ordering::Greater if valid values are more than the limit (for limits like alignments, which are minima instead of maxima).