show-option 0.2.0

Library for displaying Options
Documentation
1
2
3
4
5
6
7
8
9
10
11
Rust library for diplaying `Option`s.

# Usage

```rust
use show_option::prelude::*;

println!("received bytes: {}", None::<usize>.show_or("none")); // "received bytes: none"
println!("amount: {}", Some(20).show_prefixed_or("$", "-")); // "amount: $20"
println!("amount: {}", format_option!(Some(20), "${}", "-")); // "amount: $20"
```