Crate loop_unwrap[][src]

loop_unwrap

Provides utility macros for unwrapping during loops.

Macros

unwrap_break

Almost the same as unwrap_continue()!, just breaks the loop instead. Works like .unwrap, if it’s an Err or None, it calls break on the loop. Prints an error message with println!() if provided.

unwrap_continue

Works like .unwrap, if it’s an Err or None, it calls continue on the loop. Prints an error message with println!() if provided.

Traits

ToOption