[][src]Crate sike

Sike adds a fun convenience method to any type which can be negated with the negation operator !, called sike. To use the method, just import the Sike trait like so:

use sike::Sike;

This adds the sike method to anything which can be negated, giving you a more entertaining way to do the negation.

assert_eq!(true.sike(), false);

You can also use sike method on types like u8:

assert_eq!((2 as u8).sike(), 253);



A trait providing the sike method to any negatable type.