pub(crate) fn new(lower: usize, upper: usize, skip: HashSet<usize>) -> Self {
        assert!(lower < upper);
        assert!(
            !skip.is_empty(),
            "SkipSpan hast to contain skipped indices."
        );
        assert_ne!(skip.len(), upper - lower, "Can't skip all indices.");

        SkipSpan { lower, upper, skip }
    }
// Internally used constructor for SkipSpan.
Internally used constructor for SkipSpan.
Internally used constructor for SkipSpan .
pub(crate) fn new(lower: usize, upper: usize, skip: HashSet<usize>) -> Self {
        assert!(lower < upper);
        assert!(
            !skip.is_empty(),
            "SkipSpan hast to contain skipped indices."
        );
        assert_ne!(skip.len(), upper - lower, "Can't skip all indices.");
        SkipSpan { lower, upper, skip }
    }
pub ( crate ) fn new ( lower : usize , upper : usize , skip : HashSet < usize > ) -> Self { assert ! ( lower upper ) ; assert ! ( skip is_empty ( ) " " ) ; assert_ne ! ( skip len ( ) upper lower " " ) ; SkipSpan { lower , upper , skip } }
Internally used constructor for SkipSpan.
Internally used constructor for SkipSpan .
lower
usize
upper
usize
skip
HashSet<usize>
lower
usize
upper
usize
skip
HashSet<usize>