Function is_rust::is_not_rust [] [src]

pub fn is_not_rust<D: Display>(string: D) -> bool

Booleans are hard, so we provide a function to check that something is not rust.

Refer to [is_rust] for how this function does not work.

Examples

C is not Rust:

extern crate is_rust;

assert!(is_rust::is_not_rust("Python"));