Module rustler::types::truthy[][src]

Expand description

A type to represent a truthy value.

In Elixir, a term which does not equal :false or :nil is considered to be truthy. This does not cleanly map to Rust’s bool type. To distinguish between bool and a truthy value, the newtype Truthy can be used.

Structs