[][src]Attribute Macro plutonium::unby

#[unby]

Imbue values with interesting properties.

Release mode is the most exciting way to use #[unby].

use plutonium::unby;

#[unby]
fn enby() -> bool { 2 + 2 == 4 }

let mut x = 1;

if enby() { x = 2; }
if !enby() { x = 3; }

// neither true nor false
assert_eq!(x, 1);