pub fn into_bounds(self) -> Option<(LowerBound<T>, UpperBound<T>)> {
        match self.imp {
            None => None,
            Some(a) => Some((a.lo, a.up))
        }
    }
/**
    Destructs the interval and converts it into a pair of bounds.

    Returns ```None``` if the interval is empty.

     # Example

    ```
    use advanced_collections::interval::{Interval, LowerBound, UpperBound};
    fn main() {
        let i = Interval::open(3,5);
        let t = i.into_bounds();
        let l = LowerBound::new(3,false);
        let u = UpperBound::new(5,false);
        assert_eq!(t, Some((l, u)));
    }
    ```
    */
Destructs the interval and converts it into a pair of bounds.

Example


Destructs the interval and converts it into a pair of bounds . Example
pub fn into_bounds(self) -> Option<(LowerBound<T>, UpperBound<T>)> {
        match self.imp {
            None => None,
            Some(a) => Some((a.lo, a.up))
        }
    }
pub fn into_bounds ( self ) -> Option < ( LowerBound < T > , UpperBound < T > ) > { match self . imp { None => None , Some ( a ) => Some ( ( a . lo , a . up ) ) } }
Destructs the interval and converts it into a pair of bounds.
Destructs the interval and converts it into a pair of bounds .
self
self