OneSidedRangeBound in std::ops - Rust (original) (raw)

Enum OneSidedRangeBound

Source

pub enum OneSidedRangeBound {
    StartInclusive,
    End,
    EndInclusive,
}

🔬This is a nightly-only experimental API. (one_sided_range #69780)

Expand description

An internal helper for split_off functions indicating which end a OneSidedRange is bounded on.

§

🔬This is a nightly-only experimental API. (one_sided_range #69780)

The range is bounded inclusively from below and is unbounded above.

§

🔬This is a nightly-only experimental API. (one_sided_range #69780)

The range is bounded exclusively from above and is unbounded below.

§

🔬This is a nightly-only experimental API. (one_sided_range #69780)

The range is bounded inclusively from above and is unbounded below.

§

§

§

§

§

§