[](https://crates.io/crates/into-owned)
[](https://docs.rs/into-owned)
# IntoOwned
Provides a trait `IntoOwned` for associating a type with its owned variant.
## Status
In this experimental version, `IntoOwned` is implemented only for primitive numeric types:
`i8`, `i16`, `i32`, `i64`, `i128`, `isize`, `u8`, `u16`, `u32`, `u64`, `u128`, `usize`, `f32`, and `f64`.
## `no_std`
To use `into-owned` without the standard library,
disable the default `std` feature in `Cargo.toml`:
```toml
[dependencies]
into-owned = { version = "0.2", default-features = false }
```
In this version, no features from the standard library is used.
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.