pub fn to_f64 <'a,I,T1,T2>(x: I) -> Box<Iterator<Item=(f64,f64)>+'a>
where I: IntoIterator<Item=&'a (T1,T2)>+'a,
    T1: Into<f64>+Copy+'a, T2: Into<f64>+Copy+'a
{
    Box::new(x.into_iter().map(|&(x,y)| (x.into(),y.into())))
}
/// take an iterator of references to tuples of two types and produce point tuples.
/// The types can be anything that converts to `f64`
take an iterator of references to tuples of two types and produce point tuples.
The types can be anything that converts to `f64`
take an iterator of references to tuples of two types and produce point tuples . The types can be anything that converts to ` f64 `
pub fn to_f64 <'a,I,T1,T2>(x: I) -> Box<Iterator<Item=(f64,f64)>+'a>
where I: IntoIterator<Item=&'a (T1,T2)>+'a,
    T1: Into<f64>+Copy+'a, T2: Into<f64>+Copy+'a
{
    Box::new(x.into_iter().map(|&(x,y)| (x.into(),y.into())))
}
pub fn to_f64 < ' a , I , T1 , T2 > ( x : I ) -> Box < Iterator < Item = ( f64 , f64 ) > + ' a > where I : IntoIterator < Item = & ' a ( T1 , T2 ) > + ' a , T1 : Into < f64 > + Copy + ' a , T2 : Into < f64 > + Copy + ' a { Box :: new ( x . into_iter ( ) . map ( | & ( x , y ) | ( x . into ( ) , y . into ( ) ) ) ) }
take an iterator of references to tuples of two types and produce point tuples.
take an iterator of references to tuples of two types and produce point tuples .
x
I
x
I