core::convert::TryFrom - Rust
Description: API documentation for the Rust `TryFrom` trait in crate `core`.
Keywords: rust, rustlang, rust-lang, TryFrom

# [−][src]Trait core::convert::TryFrom

    pub trait TryFrom<T>: Sized {
        type Error;
        fn try_from(value: T) -> Result<Self, Self::Error>;
    }

🔬 This is a nightly-only experimental API. (`try_from` #33417)

Attempt to construct `Self` via a conversion.

## Associated Types

### `type Error`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

The type returned in the event of a conversion error.

## Required Methods

### `fn try_from(value: T) -> Result<Self, Self::Error>`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

Performs the conversion.

## Implementors

###

`impl TryFrom<i8> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i8) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: i32) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<isize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<isize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<i32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for i64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<i64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i128> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i128) -> Result<u128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i16> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i16) -> Result<u128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i32> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i32) -> Result<u128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<i32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i64> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i64) -> Result<u128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i8> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i8) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i8> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i8) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i8> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i8) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i8> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i8) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<i8> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: i8) -> Result<u128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: isize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for i64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: isize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for i128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: isize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<u128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<isize> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: isize) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u16> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: u16) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: u32) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u32) -> Result<isize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for char`

[src]

#### `type Error = CharTryFromError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(i: u32) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<isize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for usize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<usize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<isize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<i32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for i64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<i64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for i128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<i128, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u128> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u128) -> Result<u64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u16> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u16) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u16> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u16) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u16> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u16) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u32) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u32) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u32) -> Result<i32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u32) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u32> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u32) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<i32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for i64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<i64, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u64> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u64) -> Result<u32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<u8> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: u8) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for i8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: usize) -> Result<i8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for i16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: usize) -> Result<i16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for i32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: usize) -> Result<i32, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for i64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: usize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for i128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: usize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for isize`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: usize) -> Result<isize, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for u8`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: usize) -> Result<u8, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for u16`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(u: usize) -> Result<u16, TryFromIntError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for u32`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: usize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for u64`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: usize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl TryFrom<usize> for u128`

[src]

#### `type Error = TryFromIntError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: usize) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 0]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 0], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 1]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 1], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 2]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 2], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 3]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 3], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 4]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 4], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 5]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 5], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 6]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 6], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 7]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 7], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 8]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 8], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 9]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 9], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 10]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 10], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 11]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 11], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 12]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 12], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 13]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 13], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 14]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 14], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 15]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 15], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 16]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 16], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 17]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 17], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 18]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 18], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 19]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 19], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 20]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 20], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 21]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 21], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 22]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 22], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 23]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 23], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 24]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 24], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 25]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 25], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 26]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 26], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 27]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 27], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 28]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 28], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 29]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 29], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 30]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 30], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 31]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 31], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for &'a [T; 32]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<&[T; 32], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 0] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 0], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 1] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 1], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 2] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 2], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 3] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 3], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 4] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 4], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 5] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 5], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 6] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 6], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 7] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 7], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 8] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 8], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 9] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 9], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 10] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 10], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 11] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 11], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 12] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 12], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 13] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 13], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 14] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 14], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 15] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 15], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 16] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 16], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 17] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 17], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 18] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 18], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 19] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 19], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 20] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 20], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 21] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 21], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 22] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 22], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 23] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 23], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 24] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 24], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 25] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 25], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 26] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 26], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 27] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 27], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 28] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 28], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 29] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 29], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 30] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 30], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 31] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 31], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a [T]> for [T; 32] where T: Copy,`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &[T]) -> Result<[T; 32], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 0]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 0], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 1]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 1], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 2]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 2], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 3]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 3], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 4]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 4], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 5]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 5], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 6]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 6], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 7]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 7], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 8]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 8], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 9]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 9], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 10]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 10], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 11]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 11], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 12]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 12], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 13]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 13], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 14]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 14], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 15]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 15], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 16]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 16], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 17]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 17], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 18]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 18], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 19]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 19], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 20]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 20], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 21]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 21], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 22]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 22], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 23]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 23], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 24]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 24], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 25]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 25], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 26]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 26], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 27]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 27], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 28]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 28], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 29]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 29], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 30]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 30], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 31]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 31], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; 32]`

[src]

#### `type Error = TryFromSliceError`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(slice: &mut [T]) -> Result<&mut [T; 32], TryFromSliceError>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

###

`impl<T, U> TryFrom<U> for T where T: From<U>,`

[src]

#### `type Error = !`

🔬 This is a nightly-only experimental API. (`try_from` #33417)

####

`fn try_from(value: U) -> Result<Self, Self::Error>`

[src]

🔬 This is a nightly-only experimental API. (`try_from` #33417)

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)