Feature gate: #![feature(bound_map)]
This is a tracking issue for providing a map method on Bound. This method calls a function on the contained value of a Bound (including both Included and Exclcuded, returning a Bound of the same kind.
Public API
impl<T> Bound<T> {
pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> Bound<U>;
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(bound_map)]This is a tracking issue for providing a
mapmethod onBound. This method calls a function on the contained value of aBound(including bothIncludedandExclcuded, returning aBoundof the same kind.Public API
Steps / History
Unresolved Questions