Feature gate: #![feature(range_into_bounds)]
This is a tracking issue for the IntoBounds trait.
Public API
// core::ops
pub trait IntoBounds<T: Sized> {
fn into_bounds(self) -> (Bound<T>, Bound<T>);
}
impl<T> IntoBounds<T> for Range<T>
impl<T> IntoBounds<T> for RangeFrom<T>
impl<T> IntoBounds<T> for RangeFull
impl<T> IntoBounds<T> for RangeInclusive<T>
impl<T> IntoBounds<T> for RangeTo<T>
impl<T> IntoBounds<T> for RangeToInclusive<T>
Steps / History
Unresolved Questions
Feature gate:
#![feature(range_into_bounds)]This is a tracking issue for the
IntoBoundstrait.Public API
Steps / History
RangeBound::into_boundslibs-team#538IntoBoundstrait #136904Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩