pub trait Ten {
    fn ten() -> Self;
}
Expand description

A simple trait for types with a decimal form.

Required Methods§

Retrieve the value ten. This returns 10 for integer types and 10. for floating point types.

Implementations on Foreign Types§

Implementors§