Crate is_sus

Crate is_sus 

Source
Expand description

A library to detect if a type is suspicious or not. Similar usage to is-odd.

Example

use is_sus::{Impostor, IsSus};
fn main() {
    println!("sus = {}", Impostor.is_sus());
}

Structs§

Crewmate
A crewmate, which can be red or not red. Red is always sus.
Impostor
An impostor, acting sus as usual.

Traits§

IsSus
Trait to check if a type is sus