/**
    Destructs the interval and converts it into a tuple with primitive types.

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

     # Example

    ```
    use advanced_collections::interval::Interval;
    fn main() {
        let i = Interval::open(3,5);
        let t = i.into_tuple();
        assert_eq!(t, Some((3,false,5,false)));
    }
    ```
    */
Destructs the interval and converts it into a tuple with primitive types.

Example


Destructs the interval and converts it into a tuple with primitive types . Example
pub fn into_tuple(self) -> Option<(T, bool, T, bool)>{
        match self.imp {
            None => None,
            Some(a) => {
                let(lo, loc) = a.lo.into_tuple();
                let (up, upc) = a.up.into_tuple();
                Some((lo, loc, up, upc))
            }
        }
    }
pub fn into_tuple ( self ) -> Option < ( T , bool , T , bool ) > { match self . imp { None => None , Some ( a ) => { let ( lo , loc ) = a . lo . into_tuple ( ) ; let ( up , upc ) = a . up . into_tuple ( ) ; Some ( ( lo , loc , up , upc ) ) } } }
Destructs the interval and converts it into a tuple with primitive types.
Destructs the interval and converts it into a tuple with primitive types .
self