num::traits

Function one

Source
pub fn one<T>() -> T
where T: One,
Expand description

Returns the multiplicative identity, 1.