Docs.rs
num-traits-0.2.19
num-traits 0.2.19
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
cuviper
Dependencies
libm ^0.2.0
normal
optional
autocfg ^1
build
Versions
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
num_traits
0.2.19
In num_traits::identities
?
Settings
Function
num_traits
::
identities
::
one
Copy item path
source
·
[
−
]
pub fn one<T:
One
>() -> T
Expand description
Returns the multiplicative identity,
1
.