pub fn map<U, F: Fn(T) -> U>(self, map: F) -> Bound<U> {
        match self {
            Bound::Unbounded => Bound::Unbounded,
            Bound::Included(value) => Bound::Included(map(value)),
            Bound::Excluded(value) => Bound::Excluded(map(value)),
        }
    }
/// Maps the contained value, if any, and returns the resulting `Bound`.
Maps the contained value, if any, and returns the resulting `Bound`.
Maps the contained value if any and returns the resulting ` Bound ` .
pub fn map<U, F: Fn(T) -> U>(self, map: F) -> Bound<U> {
        match self {
            Bound::Unbounded => Bound::Unbounded,
            Bound::Included(value) => Bound::Included(map(value)),
            Bound::Excluded(value) => Bound::Excluded(map(value)),
        }
    }
pub fn map < U , F : Fn ( T ) -> U > ( self , map : F ) -> Bound < U > { match self { Bound :: Unbounded => Bound :: Unbounded , Bound :: Included ( value ) => Bound :: Included ( map ( value ) ) , Bound :: Excluded ( value ) => Bound :: Excluded ( map ( value ) ) , } }
Maps the contained value, if any, and returns the resulting `Bound`.
Maps the contained value if any and returns the resulting ` Bound ` .
self
map
F
self
map
F