Module has_one

Source
Expand description

Trait implenenations for getting the value of one for each numeric type.

Structs§

F32HasOne
F64HasOne
I8HasOne
I16HasOne
I32HasOne
I64HasOne
I128HasOne
ISizeHasOne
U8HasOne
U16HasOne
U32HasOne
U64HasOne
U128HasOne
USizeHasOne

Traits§

HasOne
Can the type have a representation of one?