[][src]Function halt::new

Important traits for Halt<I>
pub fn new<T>(inner: T) -> Halt<T>

Returns a new Halt wrapper around T.

Examples

halt::new(0..10);