# Trait std::convert::From 1.0.0[−][src]

    pub trait From<T> {
        fn from(T) -> Self;
    }

Simple and safe type conversions in to `Self`. It is the reciprocal of `Into`.

This trait is useful when performing error handling as described by the book and is closely related to the `?` operator.

When constructing a function that is capable of failing the return type will generally be of the form `Result<T, E>`.

The `From` trait allows for simplification of error handling by providing a means of returning a single error type that encapsulates numerous possible erroneous situations.

This trait is not limited to error handling, rather the general case for this trait would be in any type conversions to have an explicit definition of how they are performed.

Note: this trait must not fail. If the conversion can fail, use `TryFrom` or a dedicated method which returns an `Option<T>` or a `Result<T, E>`.

# Generic Implementations

- `From<T> for U` implies `Into<U>``for T`
- `from` is reflexive, which means that `From<T> for T` is implemented

# Examples

`String` implements `From<&str>`:

    let string = "hello".to_string();
    let other_string = String::from("hello");

    assert_eq!(string, other_string);Run

An example usage for error handling:

    use std::io::{self, Read};
    use std::num;

    enum CliError {
        IoError(io::Error),
        ParseError(num::ParseIntError),
    }

    impl From<io::Error> for CliError {
        fn from(error: io::Error) -> Self {
            CliError::IoError(error)
        }
    }

    impl From<num::ParseIntError> for CliError {
        fn from(error: num::ParseIntError) -> Self {
            CliError::ParseError(error)
        }
    }

    fn open_and_parse_file(file_name: &str) -> Result<i32, CliError> {
        let mut file = std::fs::File::open("test")?;
        let mut contents = String::new();
        file.read_to_string(&mut contents)?;
        let num: i32 = contents.trim().parse()?;
        Ok(num)
    }Run

## Required Methods

### `fn from(T) -> Self`

Performs the conversion.

## Implementors

- `impl From<f64x2> for i16x2` | [src]

- `impl From<u64x4> for i8x4` | [src]

- `impl From<u16x8> for f32x8` | [src]

- `impl From<m32x2> for u64x2` | [src]

- `impl From<u32x4> for i32x4` | [src]

- `impl From<isize> for AtomicIsize` | [src]

- `impl From<f64x4> for u8x4` | [src]

- `impl From<m32x2> for u8x2` | [src]

- `impl From<f32> for f64` | [src]

- `impl From<m8x8> for i8x8` | [src]

- `impl From<i16> for f64` | [src]

- `impl From<u8x2> for u16x2` | [src]

- `impl From<f64x2> for u16x2` | [src]

- `impl From<m16x2> for i32x2` | [src]

- `impl From<u8x8> for u16x8` | [src]

- `impl From<u64x4> for u8x4` | [src]

- `impl From<u64x2> for f64x2` | [src]

- `impl From<m64x4> for i16x4` | [src]

- `impl From<u32x16> for i16x16` | [src]

- `impl From<i8> for AtomicI8` | [src]

- `impl<'a, T> From<&'a mut T> for NonNull<T> where T: ?Sized,` | [src]

- `impl From<bool> for i64` | [src]

- `impl From<i16x4> for f32x4` | [src]

- `impl From<u16> for usize` | [src]

- `impl From<u64x2> for i64x2` | [src]

- `impl From<i8> for i128` | [src]

- `impl From<i32x16> for i16x16` | [src]

- `impl From<m32x4> for f64x4` | [src]

- `impl From<i16x2> for u64x2` | [src]

- `impl From<f64x8> for i8x8` | [src]

- `impl From<i32> for f64` | [src]

- `impl From<AllocErr> for CollectionAllocErr` | [src]

- `impl From<i32x4> for i16x4` | [src]

- `impl From<m32x4> for u32x4` | [src]

- `impl From<i32x2> for i64x2` | [src]

- `impl From<m32x2> for m64x2` | [src]

- `impl From<u32x4> for i64x4` | [src]

- `impl From<m64x4> for i8x4` | [src]

- `impl From<i8x2> for u64x2` | [src]

- `impl From<m8x16> for i16x16` | [src]

- `impl From<m16x2> for m32x2` | [src]

- `impl From<u32x8> for f64x8` | [src]

- `impl From<u8x8> for i32x8` | [src]

- `impl From<m16x16> for u16x16` | [src]

- `impl From<u32x16> for u8x16` | [src]

- `impl From<m32x8> for m1x8` | [src]

- `impl From<u64x4> for i64x4` | [src]

- `impl From<m64x2> for m16x2` | [src]

- `impl From<m1x8> for u32x8` | [src]

- `impl From<u32> for AtomicU32` | [src]

- `impl From<u8x2> for i8x2` | [src]

- `impl From<u16x2> for f32x2` | [src]

- `impl From<i8x8> for f64x8` | [src]

- `impl From<u8> for AtomicU8` | [src]

- `impl From<m64x4> for i32x4` | [src]

- `impl From<i32x4> for i8x4` | [src]

- `impl From<m8x16> for m16x16` | [src]

- `impl From<f32x2> for u64x2` | [src]

- `impl From<i8x4> for i16x4` | [src]

- `impl From<m16x16> for f32x16` | [src]

- `impl From<i16x2> for i32x2` | [src]

- `impl From<i16x2> for u32x2` | [src]

- `impl From<u64x4> for f32x4` | [src]

- `impl From<f64x2> for i64x2` | [src]

- `impl From<u32x8> for f32x8` | [src]

- `impl From<m16x4> for u16x4` | [src]

- `impl From<u32x16> for u16x16` | [src]

- `impl From<u16x4> for i8x4` | [src]

- `impl From<u64x2> for u16x2` | [src]

- `impl From<m8x16> for u8x16` | [src]

- `impl From<u8> for u16` | [src]

- `impl From<f64x4> for i8x4` | [src]

- `impl From<bool> for usize` | [src]

- `impl From<u64x8> for i32x8` | [src]

- `impl From<f64x4> for i64x4` | [src]

- `impl From<m16x4> for f64x4` | [src]

- `impl From<m8x8> for f32x8` | [src]

- `impl From<bool> for i128` | [src]

- `impl From<i64x2> for f64x2` | [src]

- `impl From<i16x8> for u16x8` | [src]

- `impl From<u32x4> for u8x4` | [src]

- `impl From<u32x8> for i8x8` | [src]

- `impl From<u32x16> for i8x16` | [src]

- `impl From<m64x2> for m8x2` | [src]

- `impl From<u32x4> for f64x4` | [src]

- `impl From<u16x2> for u32x2` | [src]

- `impl From<i16x4> for i64x4` | [src]

- `impl From<m32x2> for i32x2` | [src]

- `impl From<m1x16> for u32x16` | [src]

- `impl From<u16x32> for u8x32` | [src]

- `impl From<f64x8> for i64x8` | [src]

- `impl From<u16> for u128` | [src]

- `impl From<u16x2> for u64x2` | [src]

- `impl From<u8x2> for u32x2` | [src]

- `impl From<m64x4> for f32x4` | [src]

- `impl From<i16x32> for i8x32` | [src]

- `impl From<m1x16> for m16x16` | [src]

- `impl From<u16x8> for u32x8` | [src]

- `impl From<u16x32> for i8x32` | [src]

- `impl From<u32> for i64` | [src]

- `impl From<m8x8> for i64x8` | [src]

- `impl From<u8> for isize` | [src]

- `impl From<u64x2> for i8x2` | [src]

- `impl From<u8> for char` | [src]

- `impl From<m32x8> for u64x8` | [src]

- `impl From<i32x8> for u32x8` | [src]

- `impl From<f32x8> for f64x8` | [src]

- `impl From<m16x2> for i8x2` | [src]

- `impl From<m32x2> for f32x2` | [src]

- `impl From<i64x2> for i32x2` | [src]

- `impl From<u8x32> for i8x32` | [src]

- `impl From<i32x2> for u8x2` | [src]

- `impl From<f32x8> for u16x8` | [src]

- `impl From<u16x8> for u64x8` | [src]

- `impl From<i8x32> for u8x32` | [src]

- `impl From<i32x8> for f64x8` | [src]

- `impl From<i16x16> for i8x16` | [src]

- `impl From<u8x8> for i8x8` | [src]

- `impl From<i8> for i64` | [src]

- `impl From<f32x2> for i64x2` | [src]

- `impl From<i16x4> for i32x4` | [src]

- `impl From<u8x16> for f32x16` | [src]

- `impl From<m16x16> for u8x16` | [src]

- `impl From<m8x4> for u32x4` | [src]

- `impl From<i32x4> for f64x4` | [src]

- `impl From<u8x16> for u32x16` | [src]

- `impl From<u16x2> for i16x2` | [src]

- `impl From<f64x2> for i32x2` | [src]

- `impl From<i8x2> for i16x2` | [src]

- `impl From<i64x4> for f64x4` | [src]

- `impl From<bool> for u32` | [src]

- `impl From<f32x16> for i32x16` | [src]

- `impl From<m64x2> for u8x2` | [src]

- `impl From<f32x8> for i8x8` | [src]

- `impl From<u64x2> for u8x2` | [src]

- `impl From<u16x4> for u8x4` | [src]

- `impl From<f32x8> for u32x8` | [src]

- `impl From<u16x16> for u32x16` | [src]

- `impl From<u32x4> for u16x4` | [src]

- `impl From<m8x2> for u64x2` | [src]

- `impl From<m16x2> for u32x2` | [src]

- `impl From<i64x4> for u8x4` | [src]

- `impl From<f32x4> for u64x4` | [src]

- `impl From<i8x4> for u8x4` | [src]

- `impl From<bool> for u64` | [src]

- `impl From<u32> for u64` | [src]

- `impl From<u8x2> for i32x2` | [src]

- `impl From<m32x2> for m8x2` | [src]

- `impl From<i8x16> for i32x16` | [src]

- `impl From<m32x4> for f32x4` | [src]

- `impl From<i8x8> for u8x8` | [src]

- `impl From<m16x8> for u32x8` | [src]

- `impl<T> From<T> for Cell<T>` | [src]

- `impl From<i8> for f64` | [src]

- `impl From<m32x8> for i8x8` | [src]

- `impl From<i64x2> for u16x2` | [src]

- `impl From<i8> for f32` | [src]

- `impl From<m8x16> for u32x16` | [src]

- `impl From<u32> for u128` | [src]

- `impl From<i8x4> for f32x4` | [src]

- `impl From<m1x32> for m8x32` | [src]

- `impl From<u64x8> for u16x8` | [src]

- `impl From<f32x16> for u32x16` | [src]

- `impl From<f64x4> for f32x4` | [src]

- `impl From<u64x8> for u8x8` | [src]

- `impl From<m64x4> for i64x4` | [src]

- `impl From<u64> for u128` | [src]

- `impl From<m1x8> for m16x8` | [src]

- `impl From<bool> for AtomicBool` | [src]

- `impl From<i8x32> for i16x32` | [src]

- `impl From<u16> for f64` | [src]

- `impl From<m32x4> for i64x4` | [src]

- `impl From<u8> for u128` | [src]

- `impl From<LocalWaker> for Waker` | [src]

- `impl From<u32x2> for i32x2` | [src]

- `impl From<f32x2> for i16x2` | [src]

- `impl From<f32x2> for u8x2` | [src]

- `impl From<m16x2> for u64x2` | [src]

- `impl From<f32x2> for i32x2` | [src]

- `impl From<bool> for i16` | [src]

- `impl From<bool> for u16` | [src]

- `impl From<m32x8> for u8x8` | [src]

- `impl From<u64x8> for f32x8` | [src]

- `impl From<u16> for u32` | [src]

- `impl From<m1x64> for u8x64` | [src]

- `impl From<m8x4> for m64x4` | [src]

- `impl From<bool> for isize` | [src]

- `impl From<u8x4> for i32x4` | [src]

- `impl From<m64x2> for f64x2` | [src]

- `impl From<m64x2> for i64x2` | [src]

- `impl From<usize> for AtomicUsize` | [src]

- `impl From<u64x2> for i32x2` | [src]

- `impl From<f64x8> for u32x8` | [src]

- `impl From<m16x2> for m8x2` | [src]

- `impl From<i8> for isize` | [src]

- `impl From<m32x4> for u64x4` | [src]

- `impl From<m1x16> for u8x16` | [src]

- `impl From<u64> for AtomicU64` | [src]

- `impl From<i8x4> for i32x4` | [src]

- `impl From<i8x8> for u64x8` | [src]

- `impl From<i64x2> for i16x2` | [src]

- `impl From<i32x4> for i64x4` | [src]

- `impl From<u16x4> for i16x4` | [src]

- `impl From<f32x8> for i64x8` | [src]

- `impl From<u16x2> for f64x2` | [src]

- `impl From<u64x2> for f32x2` | [src]

- `impl From<m16x4> for u32x4` | [src]

- `impl From<i16> for f32` | [src]

- `impl From<f32x2> for u16x2` | [src]

- `impl From<u8x16> for u16x16` | [src]

- `impl From<i8x8> for i16x8` | [src]

- `impl From<m8x8> for i16x8` | [src]

- `impl From<i8x2> for u8x2` | [src]

- `impl From<u64x8> for f64x8` | [src]

- `impl From<m16x4> for m8x4` | [src]

- `impl From<m32x8> for m8x8` | [src]

- `impl From<m8x4> for i16x4` | [src]

- `impl From<m32x2> for u32x2` | [src]

- `impl From<bool> for u128` | [src]

- `impl From<m8x4> for i32x4` | [src]

- `impl From<i16x16> for u8x16` | [src]

- `impl From<u8x4> for u32x4` | [src]

- `impl From<i64x2> for u32x2` | [src]

- `impl From<i16x4> for u64x4` | [src]

- `impl From<f64x8> for i16x8` | [src]

- `impl<T> From<*mut T> for AtomicPtr<T>` | [src]

- `impl From<m8x8> for m1x8` | [src]

- `impl From<m1x8> for m8x8` | [src]

- `impl From<i64x2> for u8x2` | [src]

- `impl From<m8x2> for m16x2` | [src]

- `impl From<u8> for i16` | [src]

- `impl From<f64x2> for f32x2` | [src]

- `impl From<i64> for AtomicI64` | [src]

- `impl From<i8x16> for u16x16` | [src]

- `impl From<u32x2> for i16x2` | [src]

- `impl From<i16> for AtomicI16` | [src]

- `impl From<i16> for i64` | [src]

- `impl From<f32x8> for u64x8` | [src]

- `impl From<i64x2> for f32x2` | [src]

- `impl From<f64x4> for u16x4` | [src]

- `impl From<m16x4> for i32x4` | [src]

- `impl From<m32x8> for f32x8` | [src]

- `impl From<m1x16> for i8x16` | [src]

- `impl From<u64> for i128` | [src]

- `impl From<f32x4> for i16x4` | [src]

- `impl From<f32x8> for i16x8` | [src]

- `impl From<i8x4> for u64x4` | [src]

- `impl From<i32x4> for f32x4` | [src]

- `impl From<i16x4> for u32x4` | [src]

- `impl<T> From<T> for Option<T>` | [src]

- `impl From<u32x8> for u64x8` | [src]

- `impl From<u8x4> for f64x4` | [src]

- `impl From<u16x4> for u64x4` | [src]

- `impl From<u32x8> for i64x8` | [src]

- `impl From<m16x8> for f32x8` | [src]

- `impl From<i16x32> for u16x32` | [src]

- `impl From<i32x16> for u16x16` | [src]

- `impl From<i32x4> for u16x4` | [src]

- `impl From<f32x4> for i64x4` | [src]

- `impl From<i8x16> for f32x16` | [src]

- `impl From<m8x2> for i64x2` | [src]

- `impl From<i8x8> for u32x8` | [src]

- `impl From<u8x2> for u64x2` | [src]

- `impl From<u8x8> for f64x8` | [src]

- `impl From<m8x8> for m32x8` | [src]

- `impl From<i16x8> for i32x8` | [src]

- `impl From<m1x16> for u16x16` | [src]

- `impl From<u16> for u64` | [src]

- `impl<'a, T> From<&'a T> for NonNull<T> where T: ?Sized,` | [src]

- `impl From<u16x8> for i16x8` | [src]

- `impl From<m16x2> for u16x2` | [src]

- `impl<T> From<Unique<T>> for NonNull<T> where T: ?Sized,` | [src]

- `impl From<m32x2> for m16x2` | [src]

- `impl From<m16x16> for i16x16` | [src]

- `impl From<m8x16> for i32x16` | [src]

- `impl From<m1x8> for i16x8` | [src]

- `impl From<i64x2> for i8x2` | [src]

- `impl From<f32x4> for u8x4` | [src]

- `impl From<i32x2> for i16x2` | [src]

- `impl From<LayoutErr> for CollectionAllocErr` | [src]

- `impl From<m1x8> for i32x8` | [src]

- `impl From<u16x16> for i16x16` | [src]

- `impl From<u64x8> for u32x8` | [src]

- `impl From<i8x2> for u16x2` | [src]

- `impl From<i8x2> for i32x2` | [src]

- `impl From<m8x8> for u16x8` | [src]

- `impl From<i32x16> for f32x16` | [src]

- `impl From<u32x4> for i16x4` | [src]

- `impl From<m32x8> for u16x8` | [src]

- `impl From<i8x4> for u32x4` | [src]

- `impl From<m16x8> for m32x8` | [src]

- `impl From<m64x4> for f64x4` | [src]

- `impl From<i8> for i16` | [src]

- `impl From<u32x4> for i8x4` | [src]

- `impl From<m8x32> for u8x32` | [src]

- `impl From<m32x8> for m16x8` | [src]

- `impl From<i32x8> for f32x8` | [src]

- `impl From<i16x4> for u16x4` | [src]

- `impl From<u32x8> for u8x8` | [src]

- `impl From<i64x4> for i32x4` | [src]

- `impl From<u16x2> for i64x2` | [src]

- `impl<T> From<T> for UnsafeCell<T>` | [src]

- `impl From<u64x4> for u16x4` | [src]

- `impl From<m8x4> for f64x4` | [src]

- `impl From<m1x8> for f64x8` | [src]

- `impl From<u32x2> for u8x2` | [src]

- `impl From<i32x2> for i8x2` | [src]

- `impl From<u16x2> for u8x2` | [src]

- `impl From<i16> for i32` | [src]

- `impl From<m16x16> for m8x16` | [src]

- `impl From<i64x8> for u64x8` | [src]

- `impl From<m64x4> for u8x4` | [src]

- `impl From<u8> for f64` | [src]

- `impl From<m16x8> for m8x8` | [src]

- `impl From<i64x8> for i32x8` | [src]

- `impl From<i16x16> for i32x16` | [src]

- `impl From<bool> for i32` | [src]

- `impl From<m16x2> for m64x2` | [src]

- `impl From<m8x4> for m32x4` | [src]

- `impl From<i32x2> for u16x2` | [src]

- `impl From<u64x4> for i32x4` | [src]

- `impl From<m1x16> for m8x16` | [src]

- `impl From<bool> for i8` | [src]

- `impl From<m16x4> for f32x4` | [src]

- `impl From<u64x8> for i8x8` | [src]

- `impl From<u16x32> for i16x32` | [src]

- `impl From<f64x4> for i16x4` | [src]

- `impl From<i16x8> for i64x8` | [src]

- `impl From<m16x8> for u16x8` | [src]

- `impl From<f64x8> for u16x8` | [src]

- `impl From<u16x4> for i32x4` | [src]

- `impl From<i64x4> for i8x4` | [src]

- `impl From<f64x2> for u64x2` | [src]

- `impl From<m8x4> for u16x4` | [src]

- `impl From<u16> for i64` | [src]

- `impl From<i16x32> for u8x32` | [src]

- `impl From<m16x4> for m64x4` | [src]

- `impl From<u8x4> for u16x4` | [src]

- `impl From<i8x8> for i64x8` | [src]

- `impl From<i32x8> for u8x8` | [src]

- `impl From<u64x4> for u32x4` | [src]

- `impl From<m32x2> for i16x2` | [src]

- `impl From<m8x8> for u64x8` | [src]

- `impl From<i16x2> for f32x2` | [src]

- `impl From<m32x2> for f64x2` | [src]

- `impl<T> From<T> for RefCell<T>` | [src]

- `impl From<m64x4> for m8x4` | [src]

- `impl From<i64x8> for u8x8` | [src]

- `impl From<i8x8> for u16x8` | [src]

- `impl From<u32x8> for i32x8` | [src]

- `impl From<m1x64> for i8x64` | [src]

- `impl From<i32> for i128` | [src]

- `impl From<u32> for f64` | [src]

- `impl From<m32x2> for u16x2` | [src]

- `impl From<u8x2> for i64x2` | [src]

- `impl From<u8x16> for i16x16` | [src]

- `impl From<m1x8> for u8x8` | [src]

- `impl From<u64x4> for i16x4` | [src]

- `impl From<m16x8> for m1x8` | [src]

- `impl From<m32x4> for u16x4` | [src]

- `impl From<m32x4> for m64x4` | [src]

- `impl From<m8x8> for u8x8` | [src]

- `impl From<m8x16> for i8x16` | [src]

- `impl From<i64x4> for u16x4` | [src]

- `impl From<m8x8> for i32x8` | [src]

- `impl From<f32x2> for u32x2` | [src]

- `impl From<u16> for AtomicU16` | [src]

- `impl From<f64x2> for i8x2` | [src]

- `impl From<m16x16> for m1x16` | [src]

- `impl From<u8x32> for i16x32` | [src]

- `impl From<m8x2> for m32x2` | [src]

- `impl From<m32x4> for u8x4` | [src]

- `impl From<u16x8> for u8x8` | [src]

- `impl From<i64x8> for i8x8` | [src]

- `impl From<m1x32> for i16x32` | [src]

- `impl From<i32x8> for u16x8` | [src]

- `impl From<m64x4> for m32x4` | [src]

- `impl From<u8> for u32` | [src]

- `impl From<f32x16> for i8x16` | [src]

- `impl From<u32x2> for u16x2` | [src]

- `impl From<i8x2> for f64x2` | [src]

- `impl From<m1x16> for i16x16` | [src]

- `impl From<m64x2> for f32x2` | [src]

- `impl From<i8x4> for u16x4` | [src]

- `impl From<i16x16> for u16x16` | [src]

- `impl From<i16x2> for i64x2` | [src]

- `impl From<m32x8> for f64x8` | [src]

- `impl From<m16x8> for i16x8` | [src]

- `impl From<u64x8> for i16x8` | [src]

- `impl From<m8x32> for u16x32` | [src]

- `impl From<m1x8> for m32x8` | [src]

- `impl From<f32x4> for i8x4` | [src]

- `impl From<i8x4> for f64x4` | [src]

- `impl From<u16x4> for u32x4` | [src]

- `impl From<i64x8> for f32x8` | [src]

- `impl From<i8x16> for i16x16` | [src]

- `impl From<m16x2> for i64x2` | [src]

- `impl From<u8x4> for i8x4` | [src]

- `impl From<u32x8> for i16x8` | [src]

- `impl From<i8x2> for u32x2` | [src]

- `impl From<f64x4> for u32x4` | [src]

- `impl From<i32> for AtomicI32` | [src]

- `impl From<i64x4> for u32x4` | [src]

- `impl From<m16x16> for u32x16` | [src]

- `impl From<m32x8> for u32x8` | [src]

- `impl From<m16x8> for u8x8` | [src]

- `impl From<u32x2> for f64x2` | [src]

- `impl From<u64x8> for i64x8` | [src]

- `impl From<u16x16> for i32x16` | [src]

- `impl From<i32x4> for u8x4` | [src]

- `impl From<i16x8> for i8x8` | [src]

- `impl From<m16x2> for f64x2` | [src]

- `impl From<u32x16> for i32x16` | [src]

- `impl From<i16x16> for f32x16` | [src]

- `impl From<u8> for usize` | [src]

- `impl From<m1x8> for u16x8` | [src]

- `impl From<m32x4> for i16x4` | [src]

- `impl From<i32x8> for i64x8` | [src]

- `impl From<i64x4> for i16x4` | [src]

- `impl From<u8x4> for i64x4` | [src]

- `impl From<m16x2> for f32x2` | [src]

- `impl From<m8x4> for f32x4` | [src]

- `impl From<i16x8> for u64x8` | [src]

- `impl From<f32x4> for i32x4` | [src]

- `impl From<i16x4> for u8x4` | [src]

- `impl From<u32x2> for f32x2` | [src]

- `impl From<m16x2> for i16x2` | [src]

- `impl From<u32x2> for u64x2` | [src]

- `impl From<m8x2> for u8x2` | [src]

- `impl From<m16x2> for u8x2` | [src]

- `impl From<i64x2> for u64x2` | [src]

- `impl From<m16x4> for u8x4` | [src]

- `impl From<u8x16> for i32x16` | [src]

- `impl From<i16x8> for u8x8` | [src]

- `impl From<m8x4> for u64x4` | [src]

- `impl From<m8x32> for i8x32` | [src]

- `impl From<m8x2> for f64x2` | [src]

- `impl From<i16x4> for f64x4` | [src]

- `impl From<u16x8> for i32x8` | [src]

- `impl From<m16x4> for u64x4` | [src]

- `impl From<i64x8> for u32x8` | [src]

- `impl From<u8x8> for u64x8` | [src]

- `impl From<f32x16> for u16x16` | [src]

- `impl From<m32x4> for m16x4` | [src]

- `impl From<u32x16> for f32x16` | [src]

- `impl From<i16x2> for u16x2` | [src]

- `impl From<i16x8> for f32x8` | [src]

- `impl From<m8x32> for i16x32` | [src]

- `impl From<u8x8> for u32x8` | [src]

- `impl From<m8x16> for f32x16` | [src]

- `impl From<i32x2> for f64x2` | [src]

- `impl From<m8x4> for u8x4` | [src]

- `impl From<u64x2> for i16x2` | [src]

- `impl From<u8x64> for i8x64` | [src]

- `impl From<i32x16> for u32x16` | [src]

- `impl From<m1x8> for f32x8` | [src]

- `impl From<u16> for f32` | [src]

- `impl From<u16x16> for i8x16` | [src]

- `impl From<i32> for i64` | [src]

- `impl From<i16x8> for f64x8` | [src]

- `impl From<m64x2> for u16x2` | [src]

- `impl From<u32x8> for u16x8` | [src]

- `impl From<i16x2> for f64x2` | [src]

- `impl From<m1x16> for i32x16` | [src]

- `impl From<u8> for u64` | [src]

- `impl From<u16x4> for i64x4` | [src]

- `impl From<u32x4> for f32x4` | [src]

- `impl From<m32x4> for i32x4` | [src]

- `impl From<u8> for f32` | [src]

- `impl From<m16x8> for i8x8` | [src]

- `impl From<m16x16> for i8x16` | [src]

- `impl From<i32x8> for u64x8` | [src]

- `impl From<i32x2> for f32x2` | [src]

- `impl<T> From<T> for Poll<T>` | [src]

- `impl From<m1x32> for u16x32` | [src]

- `impl From<i32x8> for i16x8` | [src]

- `impl From<u16x8> for i8x8` | [src]

- `impl From<m8x2> for i16x2` | [src]

- `impl From<f32x8> for i32x8` | [src]

- `impl From<m8x2> for f32x2` | [src]

- `impl From<m32x2> for i64x2` | [src]

- `impl From<m16x8> for f64x8` | [src]

- `impl From<m16x16> for i32x16` | [src]

- `impl From<f32x4> for f64x4` | [src]

- `impl From<m8x4> for i8x4` | [src]

- `impl From<m64x4> for u32x4` | [src]

- `impl From<u8x8> for i64x8` | [src]

- `impl From<u8x2> for i16x2` | [src]

- `impl From<u32x2> for i8x2` | [src]

- `impl From<f64x8> for u64x8` | [src]

- `impl From<i8x2> for i64x2` | [src]

- `impl From<i8x2> for f32x2` | [src]

- `impl From<m8x2> for i32x2` | [src]

- `impl From<u8x4> for u64x4` | [src]

- `impl From<u16x4> for f64x4` | [src]

- `impl From<u8x32> for u16x32` | [src]

- `impl From<u16> for i128` | [src]

- `impl From<i8x8> for f32x8` | [src]

- `impl From<i16> for isize` | [src]

- `impl From<f64x8> for i32x8` | [src]

- `impl From<m1x16> for f32x16` | [src]

- `impl From<f32x16> for u8x16` | [src]

- `impl From<u8> for i32` | [src]

- `impl From<m16x8> for u64x8` | [src]

- `impl From<m16x8> for i32x8` | [src]

- `impl From<m8x16> for u16x16` | [src]

- `impl From<bool> for u8` | [src]

- `impl From<m64x4> for u16x4` | [src]

- `impl From<m8x2> for u32x2` | [src]

- `impl From<m8x2> for u16x2` | [src]

- `impl From<m64x2> for u32x2` | [src]

- `impl From<i32x16> for u8x16` | [src]

- `impl From<i16x8> for u32x8` | [src]

- `impl From<m8x4> for m16x4` | [src]

- `impl From<m8x8> for f64x8` | [src]

- `impl From<m32x2> for i8x2` | [src]

- `impl From<i32x2> for u32x2` | [src]

- `impl From<f64x8> for u8x8` | [src]

- `impl From<i64> for i128` | [src]

- `impl From<m8x16> for m1x16` | [src]

- `impl From<u32x2> for i64x2` | [src]

- `impl<T> From<T> for T` | [src]

- `impl From<i32x4> for u32x4` | [src]

- `impl From<m1x8> for u64x8` | [src]

- `impl From<m64x2> for i8x2` | [src]

- `impl From<m16x4> for i16x4` | [src]

- `impl From<i64x4> for u64x4` | [src]

- `impl From<f64x4> for u64x4` | [src]

- `impl From<i32x8> for i8x8` | [src]

- `impl From<u8x8> for f32x8` | [src]

- `impl From<m8x4> for i64x4` | [src]

- `impl From<f32x2> for f64x2` | [src]

- `impl From<u16> for i32` | [src]

- `impl From<i32x16> for i8x16` | [src]

- `impl From<i32x4> for u64x4` | [src]

- `impl From<m64x2> for i32x2` | [src]

- `impl From<m32x4> for m8x4` | [src]

- `impl From<i16x4> for i8x4` | [src]

- `impl From<m64x4> for u64x4` | [src]

- `impl From<u16x16> for u8x16` | [src]

- `impl From<i8x64> for u8x64` | [src]

- `impl From<i8> for i32` | [src]

- `impl From<i64x4> for f32x4` | [src]

- `impl From<f64x2> for u8x2` | [src]

- `impl From<f64x8> for f32x8` | [src]

- `impl From<m64x2> for m32x2` | [src]

- `impl From<f32x16> for i16x16` | [src]

- `impl From<i64x8> for i16x8` | [src]

- `impl From<m16x8> for i64x8` | [src]

- `impl From<m8x2> for m64x2` | [src]

- `impl From<m32x4> for i8x4` | [src]

- `impl From<u16x8> for i64x8` | [src]

- `impl From<m64x4> for m16x4` | [src]

- `impl From<i64x8> for f64x8` | [src]

- `impl From<m8x32> for m1x32` | [src]

- `impl From<m32x8> for i16x8` | [src]

- `impl From<i64x8> for u16x8` | [src]

- `impl From<i16> for i128` | [src]

- `impl From<i8x16> for u8x16` | [src]

- `impl From<u8x8> for i16x8` | [src]

- `impl From<u8x2> for f64x2` | [src]

- `impl From<f32x2> for i8x2` | [src]

- `impl From<f32x4> for u32x4` | [src]

- `impl From<u8x4> for i16x4` | [src]

- `impl From<m32x8> for i64x8` | [src]

- `impl From<f32x8> for u8x8` | [src]

- `impl From<m16x4> for m32x4` | [src]

- `impl From<m8x8> for u32x8` | [src]

- `impl From<i8x32> for u16x32` | [src]

- `impl From<u8x4> for f32x4` | [src]

- `impl From<m1x8> for i64x8` | [src]

- `impl From<m16x4> for i8x4` | [src]

- `impl From<u16x2> for i8x2` | [src]

- `impl From<f32x4> for u16x4` | [src]

- `impl From<i8x4> for i64x4` | [src]

- `impl From<!> for TryFromIntError` | [src]

- `impl From<u16x8> for f64x8` | [src]

- `impl From<m8x2> for i8x2` | [src]

- `impl From<m64x2> for i16x2` | [src]

- `impl From<u32> for i128` | [src]

- `impl From<u8> for i128` | [src]

- `impl From<u16x2> for i32x2` | [src]

- `impl From<u16x16> for f32x16` | [src]

- `impl From<u64x4> for f64x4` | [src]

- `impl From<m8x8> for m16x8` | [src]

- `impl From<i8x8> for i32x8` | [src]

- `impl From<f64x4> for i32x4` | [src]

- `impl From<i32x2> for u64x2` | [src]

- `impl From<u8> for i64` | [src]

- `impl From<m64x2> for u64x2` | [src]

- `impl From<m16x4> for i64x4` | [src]

- `impl From<char> for u32` | [src]

- `impl From<u8x16> for i8x16` | [src]

- `impl From<u64x2> for u32x2` | [src]

- `impl From<m32x8> for i32x8` | [src]

- `impl From<u32x4> for u64x4` | [src]

- `impl From<i8x16> for u32x16` | [src]

- `impl From<i16x16> for u32x16` | [src]

- `impl From<u8x2> for f32x2` | [src]

- `impl From<u16x4> for f32x4` | [src]

- `impl From<m1x8> for i8x8` | [src]

- `impl From<f64x2> for u32x2` | [src]

- `impl<'a, T> From<Cow<'a, [T]>> for Vec<T> where [T]: ToOwned, <[T] as ToOwned>::Owned == Vec<T>,` | [src]

- `impl<'a> From<&'a str> for String` | [src]

- `impl<T> From<BinaryHeap<T>> for Vec<T>` | [src]

- `impl<T> From<Arc<T>> for Waker where T: Wake + 'static,` | [src]

- `impl<'a, T> From<&'a [T]> for Arc<[T]> where T: Clone,` | [src]

- `impl<'a, T> From<Vec<T>> for Cow<'a, [T]> where T: Clone,` | [src]

- `impl<F> From<PinBox<F>> for TaskObj where F: 'static + Send + Future<Output = ()>,` | [src]

- `impl<F> From<Box<F>> for TaskObj where F: 'static + Send + Future<Output = ()>,` | [src]

- `impl<'a> From<String> for Cow<'a, str>` | [src]

- `impl<'a> From<Cow<'a, str>> for String` | [src]

- `impl<'a> From<&'a str> for Arc<str>` | [src]

- `impl<T> From<VecDeque<T>> for Vec<T>` | [src]

- `impl From<String> for Box<str>` | [src]

- `impl<'a> From<&'a str> for Vec<u8>` | [src]

- `impl<'a> From<&'a String> for Cow<'a, str>` | [src]

- `impl<T> From<PinBox<T>> for Box<T> where T: Unpin + ?Sized,` | [src]

- `impl<'a, T> From<&'a [T]> for Rc<[T]> where T: Clone,` | [src]

- `impl<T> From<T> for Rc<T>` | [src]

- `impl<T> From<Box<T>> for Arc<T> where T: ?Sized,` | [src]

- `impl<T> From<Box<T>> for PinBox<T> where T: ?Sized,` | [src]

- `impl<'a, T> From<&'a mut [T]> for Vec<T> where T: Clone,` | [src]

- `impl From<String> for Arc<str>` | [src]

- `impl<T> From<T> for Box<T>` | [src]

- `impl<'a, T> From<&'a [T]> for Vec<T> where T: Clone,` | [src]

- `impl<T> From<Vec<T>> for Arc<[T]>` | [src]

- `impl<'a, T> From<&'a [T]> for Cow<'a, [T]> where T: Clone,` | [src]

- `impl<'a, T> From<&'a [T]> for Box<[T]> where T: Copy,` | [src]

- `impl<T> From<Vec<T>> for Box<[T]>` | [src]

- `impl<T> From<T> for Arc<T>` | [src]

- `impl<'a, T> From<&'a Vec<T>> for Cow<'a, [T]> where T: Clone,` | [src]

- `impl<'a> From<&'a str> for Rc<str>` | [src]

- `impl<'a> From<&'a str> for Box<str>` | [src]

- `impl From<String> for Rc<str>` | [src]

- `impl<T> From<Vec<T>> for VecDeque<T>` | [src]

- `impl From<String> for Vec<u8>` | [src]

- `impl<T> From<Box<[T]>> for Vec<T>` | [src]

- `impl<T> From<Box<T>> for Rc<T> where T: ?Sized,` | [src]

- `impl<T> From<Vec<T>> for Rc<[T]>` | [src]

- `impl From<Box<str>> for String` | [src]

- `impl<'a> From<&'a str> for Cow<'a, str>` | [src]

- `impl From<Box<str>> for Box<[u8]>` | [src]

- `impl<T> From<Vec<T>> for BinaryHeap<T> where T: Ord,` | [src]

- `impl<'a, E: Error + 'a> From<E> for Box<Error + 'a>` | [src]

- `impl<'a, E: Error + Send + Sync + 'a> From<E> for Box<Error + Send + Sync + 'a>` | [src]

- `impl From<String> for Box<Error + Send + Sync>` | [src]

- `impl From<String> for Box<Error>` | [src]

- `impl<'a, 'b> From<&'b str> for Box<Error + Send + Sync + 'a>` | [src]

- `impl<'a> From<&'a str> for Box<Error>` | [src]

- `impl<'a, 'b> From<Cow<'b, str>> for Box<Error + Send + Sync + 'a>` | [src]

- `impl<'a> From<Cow<'a, str>> for Box<Error>` | [src]

- `impl From<CString> for Vec<u8>` | [src]

- `impl<'a> From<Cow<'a, CStr>> for CString` | [src]

- `impl<'a> From<&'a CStr> for Box<CStr>` | [src]

- `impl From<Box<CStr>> for CString` | [src]

- `impl From<CString> for Box<CStr>` | [src]

- `impl<'a> From<CString> for Cow<'a, CStr>` | [src]

- `impl<'a> From<&'a CStr> for Cow<'a, CStr>` | [src]

- `impl<'a> From<&'a CString> for Cow<'a, CStr>` | [src]

- `impl From<CString> for Arc<CStr>` | [src]

- `impl<'a> From<&'a CStr> for Arc<CStr>` | [src]

- `impl From<CString> for Rc<CStr>` | [src]

- `impl<'a> From<&'a CStr> for Rc<CStr>` | [src]

- `impl From<NulError> for Error` | [src]

- `impl<'a> From<&'a CStr> for CString` | [src]

- `impl From<String> for OsString` | [src]

- `impl<'a, T: ?Sized + AsRef<OsStr>> From<&'a T> for OsString` | [src]

- `impl<'a> From<&'a OsStr> for Box<OsStr>` | [src]

- `impl From<Box<OsStr>> for OsString` | [src]

- `impl From<OsString> for Box<OsStr>` | [src]

- `impl From<OsString> for Arc<OsStr>` | [src]

- `impl<'a> From<&'a OsStr> for Arc<OsStr>` | [src]

- `impl From<OsString> for Rc<OsStr>` | [src]

- `impl<'a> From<&'a OsStr> for Rc<OsStr>` | [src]

- `impl<'a> From<OsString> for Cow<'a, OsStr>` | [src]

- `impl<'a> From<&'a OsStr> for Cow<'a, OsStr>` | [src]

- `impl<'a> From<&'a OsString> for Cow<'a, OsStr>` | [src]

- `impl<'a> From<Cow<'a, OsStr>> for OsString` | [src]

- `impl<W> From<IntoInnerError<W>> for Error` | [src]

- `impl From<ErrorKind> for Error` | [src]

- `impl From<Ipv4Addr> for IpAddr` | [src]

- `impl From<Ipv6Addr> for IpAddr` | [src]

- `impl From<Ipv4Addr> for u32` | [src]

- `impl From<u32> for Ipv4Addr` | [src]

- `impl From<[u8; 4]> for Ipv4Addr` | [src]

- `impl From<[u8; 4]> for IpAddr` | [src]

- `impl From<Ipv6Addr> for u128` | [src]

- `impl From<u128> for Ipv6Addr` | [src]

- `impl From<[u8; 16]> for Ipv6Addr` | [src]

- `impl From<[u16; 8]> for Ipv6Addr` | [src]

- `impl From<[u8; 16]> for IpAddr` | [src]

- `impl From<[u16; 8]> for IpAddr` | [src]

- `impl From<SocketAddrV4> for SocketAddr` | [src]

- `impl From<SocketAddrV6> for SocketAddr` | [src]

- `impl<I: Into<IpAddr>> From<(I, u16)> for SocketAddr` | [src]

- `impl<'a> From<&'a Path> for Box<Path>` | [src]

- `impl From<Box<Path>> for PathBuf` | [src]

- `impl From<PathBuf> for Box<Path>` | [src]

- `impl<'a, T: ?Sized + AsRef<OsStr>> From<&'a T> for PathBuf` | [src]

- `impl From<OsString> for PathBuf` | [src]

- `impl From<PathBuf> for OsString` | [src]

- `impl From<String> for PathBuf` | [src]

- `impl<'a> From<&'a Path> for Cow<'a, Path>` | [src]

- `impl<'a> From<PathBuf> for Cow<'a, Path>` | [src]

- `impl<'a> From<&'a PathBuf> for Cow<'a, Path>` | [src]

- `impl<'a> From<Cow<'a, Path>> for PathBuf` | [src]

- `impl From<PathBuf> for Arc<Path>` | [src]

- `impl<'a> From<&'a Path> for Arc<Path>` | [src]

- `impl From<PathBuf> for Rc<Path>` | [src]

- `impl<'a> From<&'a Path> for Rc<Path>` | [src]

- `impl From<ChildStdin> for Stdio` | [src]

- `impl From<ChildStdout> for Stdio` | [src]

- `impl From<ChildStderr> for Stdio` | [src]

- `impl From<File> for Stdio` | [src]

- `impl<T> From<SendError<T>> for TrySendError<T>` | [src]

- `impl From<RecvError> for TryRecvError` | [src]

- `impl From<RecvError> for RecvTimeoutError` | [src]

- `impl<T> From<T> for Mutex<T>` | [src]

- `impl<T> From<T> for RwLock<T>` | [src]

- `impl<T> From<PoisonError<T>> for TryLockError<T>` | [src]

# 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`)