torch-build 0.1.0

Utilities to link libtorch FFI interface.
Documentation
pub trait IteratorExt
where
    Self: Iterator,
{
    fn boxed(self) -> Box<dyn Iterator<Item = Self::Item> + Send>
    where
        Self: 'static + Send;
}

impl<I> IteratorExt for I
where
    I: Iterator,
{
    fn boxed(self) -> Box<dyn Iterator<Item = Self::Item> + Send>
    where
        Self: 'static + Send,
    {
        Box::new(self)
    }
}