Trait sp_std::convert::From

1.0.0 · source · []
pub trait From<T> {
    fn from(T) -> Self;
}
Expand description

Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.

One should always prefer implementing From over Into because implementing From automatically provides one with an implementation of Into thanks to the blanket implementation in the standard library.

Only implement Into when targeting a version prior to Rust 1.41 and converting to a type outside the current crate. From was not able to do these types of conversions in earlier versions because of Rust’s orphaning rules. See Into for more details.

Prefer using Into over using From when specifying trait bounds on a generic function. This way, types that directly implement Into can be used as arguments as well.

The From is also very useful when performing error handling. When constructing a function that is capable of failing, the return type will generally be of the form Result<T, E>. The From trait simplifies error handling by allowing a function to return a single error type that encapsulate multiple error types. See the “Examples” section and the book for more details.

Note: This trait must not fail. If the conversion can fail, use TryFrom.

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>:

An explicit conversion from a &str to a String is done as follows:

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

assert_eq!(string, other_string);

While performing error handling it is often useful to implement From for your own error type. By converting underlying error types to our own custom error type that encapsulates the underlying error type, we can return a single error type without losing information on the underlying cause. The ‘?’ operator automatically converts the underlying error type to our custom error type by calling Into<CliError>::into which is automatically provided when implementing From. The compiler then infers which implementation of Into should be used.

use std::fs;
use std::io;
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 contents = fs::read_to_string(&file_name)?;
    let num: i32 = contents.trim().parse()?;
    Ok(num)
}

Required methods

Performs the conversion.

Implementations on Foreign Types

Creates an IpAddr::V6 from an eight element 16-bit array.

Examples
use std::net::{IpAddr, Ipv6Addr};

let addr = IpAddr::from([
    525u16, 524u16, 523u16, 522u16,
    521u16, 520u16, 519u16, 518u16,
]);
assert_eq!(
    IpAddr::V6(Ipv6Addr::new(
        0x20d, 0x20c,
        0x20b, 0x20a,
        0x209, 0x208,
        0x207, 0x206
    )),
    addr
);

Converts an Ipv4Addr into a host byte order u32.

Examples
use std::net::Ipv4Addr;

let addr = Ipv4Addr::new(0x12, 0x34, 0x56, 0x78);
assert_eq!(0x12345678, u32::from(addr));
Examples
use std::collections::HashMap;

let map1 = HashMap::from([(1, 2), (3, 4)]);
let map2: HashMap<_, _> = [(1, 2), (3, 4)].into();
assert_eq!(map1, map2);

Create a new cell with its contents set to value.

Example
#![feature(once_cell)]

use std::lazy::SyncOnceCell;

let a = SyncOnceCell::from(3);
let b = SyncOnceCell::new();
b.set(3)?;
assert_eq!(a, b);
Ok(())

Convert an Ipv6Addr into a host byte order u128.

Examples
use std::net::Ipv6Addr;

let addr = Ipv6Addr::new(
    0x1020, 0x3040, 0x5060, 0x7080,
    0x90A0, 0xB0C0, 0xD0E0, 0xF00D,
);
assert_eq!(0x102030405060708090A0B0C0D0E0F00D_u128, u128::from(addr));

Convert a host byte order u128 into an Ipv6Addr.

Examples
use std::net::Ipv6Addr;

let addr = Ipv6Addr::from(0x102030405060708090A0B0C0D0E0F00D_u128);
assert_eq!(
    Ipv6Addr::new(
        0x1020, 0x3040, 0x5060, 0x7080,
        0x90A0, 0xB0C0, 0xD0E0, 0xF00D,
    ),
    addr);

Converts a File into a Stdio

Examples

File will be converted to Stdio using Stdio::from under the hood.

use std::fs::File;
use std::process::Command;

// With the `foo.txt` file containing `Hello, world!"
let file = File::open("foo.txt").unwrap();

let reverse = Command::new("rev")
    .stdin(file)  // Implicit File conversion into a Stdio
    .output()
    .expect("failed reverse command");

assert_eq!(reverse.stdout, b"!dlrow ,olleH");

Intended for use for errors not exposed to the user, where allocating onto the heap (for normal construction via Error::new) is too costly.

Converts an ErrorKind into an Error.

This conversion allocates a new error with a simple representation of error kind.

Examples
use std::io::{Error, ErrorKind};

let not_found = ErrorKind::NotFound;
let error = Error::from(not_found);
assert_eq!("entity not found", format!("{}", error));

Converts a clone-on-write pointer to an owned path.

Converting from a Cow::Owned does not clone or allocate.

Creates an Ipv4Addr from a four element byte array.

Examples
use std::net::Ipv4Addr;

let addr = Ipv4Addr::from([13u8, 12u8, 11u8, 10u8]);
assert_eq!(Ipv4Addr::new(13, 12, 11, 10), addr);

Converts a ChildStderr into a Stdio

Examples
use std::process::{Command, Stdio};

let reverse = Command::new("rev")
    .arg("non_existing_file.txt")
    .stderr(Stdio::piped())
    .spawn()
    .expect("failed reverse command");

let cat = Command::new("cat")
    .arg("-")
    .stdin(reverse.stderr.unwrap()) // Converted into a Stdio here
    .output()
    .expect("failed echo command");

assert_eq!(
    String::from_utf8_lossy(&cat.stdout),
    "rev: cannot open non_existing_file.txt: No such file or directory\n"
);

Converts a SocketAddrV4 into a SocketAddr::V4.

Converts a Box<Path> into a PathBuf

This conversion does not allocate or copy memory.

Converts a SocketAddrV6 into a SocketAddr::V6.

Converts a Vec<NonZeroU8> into a CString without copying nor checking for inner null bytes.

Converts a tuple struct (Into<IpAddr>, u16) into a SocketAddr.

This conversion creates a SocketAddr::V4 for an IpAddr::V4 and creates a SocketAddr::V6 for an IpAddr::V6.

u16 is treated as port of the newly created SocketAddr.

Copies this address to a new IpAddr::V4.

Examples
use std::net::{IpAddr, Ipv4Addr};

let addr = Ipv4Addr::new(127, 0, 0, 1);

assert_eq!(
    IpAddr::V4(addr),
    IpAddr::from(addr)
)

Converts a ChildStdout into a Stdio

Examples

ChildStdout will be converted to Stdio using Stdio::from under the hood.

use std::process::{Command, Stdio};

let hello = Command::new("echo")
    .arg("Hello, world!")
    .stdout(Stdio::piped())
    .spawn()
    .expect("failed echo command");

let reverse = Command::new("rev")
    .stdin(hello.stdout.unwrap())  // Converted into a Stdio here
    .output()
    .expect("failed reverse command");

assert_eq!(reverse.stdout, b"!dlrow ,olleH\n");

Converts a String into a PathBuf

This conversion does not allocate or copy memory.

Creates an IpAddr::V4 from a four element byte array.

Examples
use std::net::{IpAddr, Ipv4Addr};

let addr = IpAddr::from([13u8, 12u8, 11u8, 10u8]);
assert_eq!(IpAddr::V4(Ipv4Addr::new(13, 12, 11, 10)), addr);

Converts a PathBuf into an OsString

This conversion does not allocate or copy memory.

Copies this address to a new IpAddr::V6.

Examples
use std::net::{IpAddr, Ipv6Addr};

let addr = Ipv6Addr::new(0, 0, 0, 0, 0, 0xffff, 0xc00a, 0x2ff);

assert_eq!(
    IpAddr::V6(addr),
    IpAddr::from(addr)
);

Converts a NulError into a io::Error.

Converts a borrowed OsStr to a PathBuf.

Allocates a PathBuf and copies the data into it.

Converts a Box<CStr> into a CString without copying or allocating.

Converts a host byte order u32 into an Ipv4Addr.

Examples
use std::net::Ipv4Addr;

let addr = Ipv4Addr::from(0x12345678);
assert_eq!(Ipv4Addr::new(0x12, 0x34, 0x56, 0x78), addr);

Creates an IpAddr::V6 from a sixteen element byte array.

Examples
use std::net::{IpAddr, Ipv6Addr};

let addr = IpAddr::from([
    25u8, 24u8, 23u8, 22u8, 21u8, 20u8, 19u8, 18u8,
    17u8, 16u8, 15u8, 14u8, 13u8, 12u8, 11u8, 10u8,
]);
assert_eq!(
    IpAddr::V6(Ipv6Addr::new(
        0x1918, 0x1716,
        0x1514, 0x1312,
        0x1110, 0x0f0e,
        0x0d0c, 0x0b0a
    )),
    addr
);

Converts a Box<OsStr> into an OsString without copying or allocating.

Converts a String into an OsString.

This conversion does not allocate or copy memory.

Creates an Ipv6Addr from an eight element 16-bit array.

Examples
use std::net::Ipv6Addr;

let addr = Ipv6Addr::from([
    525u16, 524u16, 523u16, 522u16,
    521u16, 520u16, 519u16, 518u16,
]);
assert_eq!(
    Ipv6Addr::new(
        0x20d, 0x20c,
        0x20b, 0x20a,
        0x209, 0x208,
        0x207, 0x206
    ),
    addr
);

Converts a ChildStdin into a Stdio

Examples

ChildStdin will be converted to Stdio using Stdio::from under the hood.

use std::process::{Command, Stdio};

let reverse = Command::new("rev")
    .stdin(Stdio::piped())
    .spawn()
    .expect("failed reverse command");

let _echo = Command::new("echo")
    .arg("Hello, world!")
    .stdout(reverse.stdin.unwrap()) // Converted into a Stdio here
    .output()
    .expect("failed echo command");

// "!dlrow ,olleH" echoed to console

Converts an OsString into a PathBuf

This conversion does not allocate or copy memory.

Creates an Ipv6Addr from a sixteen element byte array.

Examples
use std::net::Ipv6Addr;

let addr = Ipv6Addr::from([
    25u8, 24u8, 23u8, 22u8, 21u8, 20u8, 19u8, 18u8,
    17u8, 16u8, 15u8, 14u8, 13u8, 12u8, 11u8, 10u8,
]);
assert_eq!(
    Ipv6Addr::new(
        0x1918, 0x1716,
        0x1514, 0x1312,
        0x1110, 0x0f0e,
        0x0d0c, 0x0b0a
    ),
    addr
);
Examples
use std::collections::HashSet;

let set1 = HashSet::from([1, 2, 3, 4]);
let set2: HashSet<_> = [1, 2, 3, 4].into();
assert_eq!(set1, set2);

Converts i8 to i32 losslessly.

Converts i32 to i64 losslessly.

Converts u8 to u128 losslessly.

Converts a NonZeroIsize into an isize

Converts from &mut Option<T> to Option<&mut T>

Examples
let mut s = Some(String::from("Hello"));
let o: Option<&mut String> = Option::from(&mut s);

match o {
    Some(t) => *t = String::from("Hello, Rustaceans!"),
    None => (),
}

assert_eq!(s, Some(String::from("Hello, Rustaceans!")));

Converts i16 to isize losslessly.

Converts u64 to i128 losslessly.

Converts f32 to f64 losslessly.

Converts u8 to i16 losslessly.

Converts a NonZeroI64 into an i64

Converts i8 to f32 losslessly.

Converts a NonZeroU64 into an u64

Converts i8 to i64 losslessly.

Converts i64 to i128 losslessly.

Converts u8 to f32 losslessly.

Converts i8 to isize losslessly.

Converts a char into a u32.

Examples
use std::mem;

let c = 'c';
let u = u32::from(c);
assert!(4 == mem::size_of_val(&u))

Converts a NonZeroU8 into an u8

Converts u32 to u128 losslessly.

Converts a bool to a u16. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(u16::from(true), 1);
assert_eq!(u16::from(false), 0);

Converts a bool to a u32. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(u32::from(true), 1);
assert_eq!(u32::from(false), 0);

Converts a bool to a i32. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i32::from(true), 1);
assert_eq!(i32::from(false), 0);

Converts i16 to i128 losslessly.

Converts u16 to u32 losslessly.

Converts u16 to i32 losslessly.

Converts u32 to u64 losslessly.

Converts i32 to i128 losslessly.

Converts i8 to i128 losslessly.

Converts u8 to isize losslessly.

Converts a NonZeroI128 into an i128

Converts a NonZeroU32 into an u32

Converts u32 to i128 losslessly.

Converts i16 to f32 losslessly.

Converts a char into a u64.

Examples
use std::mem;

let c = '👤';
let u = u64::from(c);
assert!(8 == mem::size_of_val(&u))

Converts a char into a u128.

Examples
use std::mem;

let c = '⚙';
let u = u128::from(c);
assert!(16 == mem::size_of_val(&u))

Converts i8 to i16 losslessly.

Converts i16 to i64 losslessly.

Converts u16 to usize losslessly.

Converts i8 to f64 losslessly.

Converts a NonZeroU16 into an u16

Converts u32 to f64 losslessly.

Convert to a Ready variant.

Example
assert_eq!(Poll::from(true), Poll::Ready(true));

Converts u16 to i64 losslessly.

Converts i16 to f64 losslessly.

Converts u8 to i32 losslessly.

Converts u16 to f64 losslessly.

Converts u8 to i64 losslessly.

Converts a bool to a isize. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(isize::from(true), 1);
assert_eq!(isize::from(false), 0);

Converts a NonZeroUsize into an usize

Converts u8 to usize losslessly.

Converts u8 to u16 losslessly.

Converts a NonZeroU128 into an u128

Converts a bool to a i8. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i8::from(true), 1);
assert_eq!(i8::from(false), 0);

Maps a byte in 0x00..=0xFF to a char whose code point has the same value, in U+0000..=U+00FF.

Unicode is designed such that this effectively decodes bytes with the character encoding that IANA calls ISO-8859-1. This encoding is compatible with ASCII.

Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hyphen), which leaves some “blanks”, byte values that are not assigned to any character. ISO-8859-1 (the IANA one) assigns them to the C0 and C1 control codes.

Note that this is also different from Windows-1252 a.k.a. code page 1252, which is a superset ISO/IEC 8859-1 that assigns some (not all!) blanks to punctuation and various Latin characters.

To confuse things further, on the Web ascii, iso-8859-1, and windows-1252 are all aliases for a superset of Windows-1252 that fills the remaining blanks with corresponding C0 and C1 control codes.

Converts a u8 into a char.

Examples
use std::mem;

let u = 32 as u8;
let c = char::from(u);
assert!(4 == mem::size_of_val(&c))

Converts u8 to u64 losslessly.

Converts u16 to u64 losslessly.

Converts from &Option<T> to Option<&T>.

Examples

Converts an Option<String> into an Option<usize>, preserving the original. The map method takes the self argument by value, consuming the original, so this technique uses from to first take an Option to a reference to the value inside the original.

let s: Option<String> = Some(String::from("Hello, Rustaceans!"));
let o: Option<usize> = Option::from(&s).map(|ss: &String| ss.len());

println!("Can still print s: {:?}", s);

assert_eq!(o, Some(18));

Converts u16 to f32 losslessly.

Converts u16 to u128 losslessly.

Converts a NonZeroI8 into an i8

Converts a bool to a i64. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i64::from(true), 1);
assert_eq!(i64::from(false), 0);

Converts a NonZeroI16 into an i16

Converts u64 to u128 losslessly.

Moves val into a new Some.

Examples
let o: Option<u8> = Option::from(67);

assert_eq!(Some(67), o);

Converts i32 to f64 losslessly.

Converts a bool to a u128. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(u128::from(true), 1);
assert_eq!(u128::from(false), 0);

Converts a bool to a i16. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i16::from(true), 1);
assert_eq!(i16::from(false), 0);

Converts a bool to a u8. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(u8::from(true), 1);
assert_eq!(u8::from(false), 0);

Converts u8 to f64 losslessly.

Converts a bool to a i128. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i128::from(true), 1);
assert_eq!(i128::from(false), 0);

Converts a bool to a usize. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(usize::from(true), 1);
assert_eq!(usize::from(false), 0);

Converts u32 to i64 losslessly.

Converts a NonZeroI32 into an i32

Converts u16 to i128 losslessly.

Converts u8 to i128 losslessly.

Converts u8 to u32 losslessly.

Converts a bool to a u64. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(u64::from(true), 1);
assert_eq!(u64::from(false), 0);

Converts i16 to i32 losslessly.

Converts a &String into a String.

This clones s and returns the clone.

use std::collections::BinaryHeap;

let mut h1 = BinaryHeap::from([1, 4, 2, 3]);
let mut h2: BinaryHeap<_> = [1, 4, 2, 3].into();
while let Some((a, b)) = h1.pop().zip(h2.pop()) {
    assert_eq!(a, b);
}

Converts the given boxed str slice to a String. It is notable that the str slice is owned.

Examples

Basic usage:

let s1: String = String::from("hello world");
let s2: Box<str> = s1.into_boxed_str();
let s3: String = String::from(s2);

assert_eq!("hello world", s3)

Use a Wake-able type as a Waker.

No heap allocations or atomic operations are used for this conversion.

Allocates an owned String from a single character.

Example
let c: char = 'a';
let s: String = String::from(c);
assert_eq!("a", &s[..]);

Converts a Box<T> into a Pin<Box<T>>

This conversion does not allocate on the heap and happens in place.

Converts a Vec<T> into a BinaryHeap<T>.

This conversion happens in-place, and has O(n) time complexity.

Use a Wake-able type as a RawWaker.

No heap allocations or atomic operations are used for this conversion.

use std::collections::LinkedList;

let list1 = LinkedList::from([1, 2, 3, 4]);
let list2: LinkedList<_> = [1, 2, 3, 4].into();
assert_eq!(list1, list2);

Converts a clone-on-write string to an owned instance of String.

This extracts the owned string, clones the string if it is not already owned.

Example
// If the string is not owned...
let cow: Cow<str> = Cow::Borrowed("eggplant");
// It will allocate on the heap and copy the string.
let owned: String = String::from(cow);
assert_eq!(&owned[..], "eggplant");

Converts a &str into a String.

The result is allocated on the heap.

Converts a &mut str into a String.

The result is allocated on the heap.

Implementors

Stability note: This impl does not yet exist, but we are “reserving space” to add it in the future. See rust-lang/rust#64715 for details.

impl From<Colour> for Style

impl<'a, I, S: 'a + ToOwned + ?Sized> From<I> for ANSIGenericString<'a, S> where
    I: Into<Cow<'a, S>>,
    <S as ToOwned>::Owned: Debug

impl<E> From<E> for Error where
    E: StdError + Send + Sync + 'static, 

impl From<Error> for Box<dyn StdError + Send + Sync + 'static>

impl From<Error> for Box<dyn StdError + Send + 'static>

impl From<Error> for Box<dyn StdError + 'static>

impl<T, const CAP: usize> From<[T; CAP]> for ArrayVec<T, CAP>

impl From<Mnemonic> for String

impl<O, V> From<V> for BitArray<O, V> where
    O: BitOrder,
    V: BitView

impl<T> From<&'_ T> for Address<Const, T> where
    T: BitStore

impl<T> From<&'_ mut T> for Address<Mut, T> where
    T: BitStore

impl<T> From<Infallible> for AddressError<T> where
    T: BitStore

impl<M, O, T> From<Range<BitPtr<M, O, T>>> for BitPtrRange<M, O, T> where
    M: Mutability,
    O: BitOrder,
    T: BitStore

impl<O, T> From<&'_ T> for BitPtr<Const, O, T> where
    O: BitOrder,
    T: BitStore

impl<O, T> From<&'_ mut T> for BitPtr<Mut, O, T> where
    O: BitOrder,
    T: BitStore

impl<T> From<AddressError<T>> for BitPtrError<T> where
    T: BitStore

impl<T> From<BitIdxError<<T as BitStore>::Mem>> for BitPtrError<T> where
    T: BitStore

impl<T> From<Infallible> for BitPtrError<T> where
    T: BitStore

impl<T> From<BitPtrError<T>> for BitSpanError<T> where
    T: BitStore

impl<T> From<Infallible> for BitSpanError<T> where
    T: BitStore

impl<'a, O, T> From<&'a BitSlice<O, T>> for BitBox<O, T> where
    O: BitOrder,
    T: BitStore

impl<O, T> From<BitVec<O, T>> for BitBox<O, T> where
    O: BitOrder,
    T: BitStore

impl<'a, O, T> From<&'a BitSlice<O, T>> for BitVec<O, T> where
    O: BitOrder,
    T: BitStore

impl<'a, O, T> From<&'a mut BitSlice<O, T>> for BitVec<O, T> where
    O: BitOrder,
    T: BitStore

impl<O, T> From<BitBox<O, T>> for BitVec<O, T> where
    O: BitOrder,
    T: BitStore

impl<Tz: TimeZone> From<DateTime<Tz>> for SystemTime

impl From<u8> for Scalar

impl From<u16> for Scalar

impl From<u32> for Scalar

impl From<u64> for Scalar

impl From<u128> for Scalar

impl From<&'_ Signature> for [u8; 64]

impl<'a> From<&'a SecretKey> for PublicKey

impl<'a> From<&'a ExpandedSecretKey> for PublicKey

impl<'a> From<&'a SecretKey> for ExpandedSecretKey

impl<L, R> From<Result<R, L>> for Either<L, R>

impl From<BenchmarkError> for &'static str

impl From<&'static str> for BenchmarkError

impl<K, V, S> From<BoundedBTreeMap<K, V, S>> for BTreeMap<K, V> where
    K: Ord

impl<T, S> From<BoundedBTreeSet<T, S>> for BTreeSet<T> where
    T: Ord

impl<'a, T, S> From<BoundedSlice<'a, T, S>> for &'a [T]

impl<T, S: Get<u32>> From<BoundedVec<T, S>> for Vec<T>

impl<T> From<T> for WrapperOpaque<T>

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<AccountId> From<Option<AccountId>> for RawOrigin<AccountId>

impl<'a, T> From<FutureObj<'a, T>> for LocalFutureObj<'a, T>

impl<'a, F: Future<Output = ()> + Send + 'a> From<Box<F, Global>> for FutureObj<'a, ()>

impl<'a> From<Box<dyn Future<Output = ()> + Send + 'a, Global>> for FutureObj<'a, ()>

impl<'a, F: Future<Output = ()> + Send + 'a> From<Pin<Box<F, Global>>> for FutureObj<'a, ()>

impl<'a> From<Pin<Box<dyn Future<Output = ()> + Send + 'a, Global>>> for FutureObj<'a, ()>

impl<'a, F: Future<Output = ()> + 'a> From<Box<F, Global>> for LocalFutureObj<'a, ()>

impl<'a> From<Box<dyn Future<Output = ()> + 'a, Global>> for LocalFutureObj<'a, ()>

impl<'a, F: Future<Output = ()> + 'a> From<Pin<Box<F, Global>>> for LocalFutureObj<'a, ()>

impl<'a> From<Pin<Box<dyn Future<Output = ()> + 'a, Global>>> for LocalFutureObj<'a, ()>

impl<T> From<Option<T>> for OptionFuture<T>

impl<T> From<T> for Mutex<T>

impl<T> From<[T; 1]> for GenericArray<T, U1>

impl<T> From<GenericArray<T, UInt<UTerm, B1>>> for [T; 1]

impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, U1>

impl<'a, T> From<&'a mut [T; 1]> for &'a mut GenericArray<T, U1>

impl<T> From<[T; 2]> for GenericArray<T, U2>

impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B0>>> for [T; 2]

impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, U2>

impl<'a, T> From<&'a mut [T; 2]> for &'a mut GenericArray<T, U2>

impl<T> From<[T; 3]> for GenericArray<T, U3>

impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B1>>> for [T; 3]

impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, U3>

impl<'a, T> From<&'a mut [T; 3]> for &'a mut GenericArray<T, U3>

impl<T> From<[T; 4]> for GenericArray<T, U4>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>> for [T; 4]

impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, U4>

impl<'a, T> From<&'a mut [T; 4]> for &'a mut GenericArray<T, U4>

impl<T> From<[T; 5]> for GenericArray<T, U5>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>> for [T; 5]

impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, U5>

impl<'a, T> From<&'a mut [T; 5]> for &'a mut GenericArray<T, U5>

impl<T> From<[T; 6]> for GenericArray<T, U6>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>> for [T; 6]

impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, U6>

impl<'a, T> From<&'a mut [T; 6]> for &'a mut GenericArray<T, U6>

impl<T> From<[T; 7]> for GenericArray<T, U7>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>> for [T; 7]

impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, U7>

impl<'a, T> From<&'a mut [T; 7]> for &'a mut GenericArray<T, U7>

impl<T> From<[T; 8]> for GenericArray<T, U8>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for [T; 8]

impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, U8>

impl<'a, T> From<&'a mut [T; 8]> for &'a mut GenericArray<T, U8>

impl<T> From<[T; 9]> for GenericArray<T, U9>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>> for [T; 9]

impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, U9>

impl<'a, T> From<&'a mut [T; 9]> for &'a mut GenericArray<T, U9>

impl<T> From<[T; 10]> for GenericArray<T, U10>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>> for [T; 10]

impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, U10>

impl<'a, T> From<&'a mut [T; 10]> for &'a mut GenericArray<T, U10>

impl<T> From<[T; 11]> for GenericArray<T, U11>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>> for [T; 11]

impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, U11>

impl<'a, T> From<&'a mut [T; 11]> for &'a mut GenericArray<T, U11>

impl<T> From<[T; 12]> for GenericArray<T, U12>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>> for [T; 12]

impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, U12>

impl<'a, T> From<&'a mut [T; 12]> for &'a mut GenericArray<T, U12>

impl<T> From<[T; 13]> for GenericArray<T, U13>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>> for [T; 13]

impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, U13>

impl<'a, T> From<&'a mut [T; 13]> for &'a mut GenericArray<T, U13>

impl<T> From<[T; 14]> for GenericArray<T, U14>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>> for [T; 14]

impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, U14>

impl<'a, T> From<&'a mut [T; 14]> for &'a mut GenericArray<T, U14>

impl<T> From<[T; 15]> for GenericArray<T, U15>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>> for [T; 15]

impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, U15>

impl<'a, T> From<&'a mut [T; 15]> for &'a mut GenericArray<T, U15>

impl<T> From<[T; 16]> for GenericArray<T, U16>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>> for [T; 16]

impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, U16>

impl<'a, T> From<&'a mut [T; 16]> for &'a mut GenericArray<T, U16>

impl<T> From<[T; 17]> for GenericArray<T, U17>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>> for [T; 17]

impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, U17>

impl<'a, T> From<&'a mut [T; 17]> for &'a mut GenericArray<T, U17>

impl<T> From<[T; 18]> for GenericArray<T, U18>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>> for [T; 18]

impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, U18>

impl<'a, T> From<&'a mut [T; 18]> for &'a mut GenericArray<T, U18>

impl<T> From<[T; 19]> for GenericArray<T, U19>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>> for [T; 19]

impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, U19>

impl<'a, T> From<&'a mut [T; 19]> for &'a mut GenericArray<T, U19>

impl<T> From<[T; 20]> for GenericArray<T, U20>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>> for [T; 20]

impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, U20>

impl<'a, T> From<&'a mut [T; 20]> for &'a mut GenericArray<T, U20>

impl<T> From<[T; 21]> for GenericArray<T, U21>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>> for [T; 21]

impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, U21>

impl<'a, T> From<&'a mut [T; 21]> for &'a mut GenericArray<T, U21>

impl<T> From<[T; 22]> for GenericArray<T, U22>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>> for [T; 22]

impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, U22>

impl<'a, T> From<&'a mut [T; 22]> for &'a mut GenericArray<T, U22>

impl<T> From<[T; 23]> for GenericArray<T, U23>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>> for [T; 23]

impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, U23>

impl<'a, T> From<&'a mut [T; 23]> for &'a mut GenericArray<T, U23>

impl<T> From<[T; 24]> for GenericArray<T, U24>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>> for [T; 24]

impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, U24>

impl<'a, T> From<&'a mut [T; 24]> for &'a mut GenericArray<T, U24>

impl<T> From<[T; 25]> for GenericArray<T, U25>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>> for [T; 25]

impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, U25>

impl<'a, T> From<&'a mut [T; 25]> for &'a mut GenericArray<T, U25>

impl<T> From<[T; 26]> for GenericArray<T, U26>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>> for [T; 26]

impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, U26>

impl<'a, T> From<&'a mut [T; 26]> for &'a mut GenericArray<T, U26>

impl<T> From<[T; 27]> for GenericArray<T, U27>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>> for [T; 27]

impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, U27>

impl<'a, T> From<&'a mut [T; 27]> for &'a mut GenericArray<T, U27>

impl<T> From<[T; 28]> for GenericArray<T, U28>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for [T; 28]

impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, U28>

impl<'a, T> From<&'a mut [T; 28]> for &'a mut GenericArray<T, U28>

impl<T> From<[T; 29]> for GenericArray<T, U29>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>> for [T; 29]

impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, U29>

impl<'a, T> From<&'a mut [T; 29]> for &'a mut GenericArray<T, U29>

impl<T> From<[T; 30]> for GenericArray<T, U30>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>> for [T; 30]

impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, U30>

impl<'a, T> From<&'a mut [T; 30]> for &'a mut GenericArray<T, U30>

impl<T> From<[T; 31]> for GenericArray<T, U31>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>> for [T; 31]

impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, U31>

impl<'a, T> From<&'a mut [T; 31]> for &'a mut GenericArray<T, U31>

impl<T> From<[T; 32]> for GenericArray<T, U32>

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for [T; 32]

impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, U32>

impl<'a, T> From<&'a mut [T; 32]> for &'a mut GenericArray<T, U32>

impl<'a, T, N: ArrayLength<T>> From<&'a [T]> for &'a GenericArray<T, N>

impl<'a, T, N: ArrayLength<T>> From<&'a mut [T]> for &'a mut GenericArray<T, N>

impl From<Error> for Error

impl<T> From<T> for DebugFrameOffset<T>

impl<T> From<T> for EhFrameOffset<T>

impl<R> From<R> for DebugAddr<R>

impl<R: Reader> From<R> for DebugFrame<R>

impl<R: Reader> From<R> for EhFrameHdr<R>

impl<R: Reader> From<R> for EhFrame<R>

impl<R> From<R> for DebugAbbrev<R>

impl<R> From<R> for DebugAranges<R>

impl<R> From<R> for DebugCuIndex<R>

impl<R> From<R> for DebugTuIndex<R>

impl<R> From<R> for DebugLine<R>

impl<R> From<R> for DebugLoc<R>

impl<R> From<R> for DebugLocLists<R>

impl<R: Reader> From<R> for DebugPubNames<R>

impl<R: Reader> From<R> for DebugPubTypes<R>

impl<R> From<R> for DebugRanges<R>

impl<R> From<R> for DebugRngLists<R>

impl<R> From<R> for DebugStr<R>

impl<R> From<R> for DebugStrOffsets<R>

impl<R> From<R> for DebugLineStr<R>

impl<R> From<R> for DebugInfo<R>

impl<R> From<R> for DebugTypes<R>

impl<T, S, A> From<HashMap<T, (), S, A>> for HashSet<T, S, A> where
    A: Allocator + Clone

impl<R: RawMutex, T> From<T> for Mutex<R, T>

impl<R: RawMutex, G: GetThreadId, T> From<T> for ReentrantMutex<R, G, T>

impl<R: RawRwLock, T> From<T> for RwLock<R, T>

impl From<Words> for Bytes

impl From<Pages> for Bytes

impl From<Words> for Bytes

impl From<Pages> for Bytes

impl From<&'_ StreamResult> for MZResult

impl<T: Scalar, const D: usize> From<[T; D]> for SVector<T, D>

impl<T: Scalar, const D: usize> From<[T; D]> for RowSVector<T, D> where
    Const<D>: IsNotStaticOne

impl<T: Scalar, const R: usize, const C: usize> From<[[T; R]; C]> for SMatrix<T, R, C>

impl<'a, T, RStride, CStride, const R: usize, const C: usize> From<Matrix<T, Const<R>, Const<C>, SliceStorage<'a, T, Const<R>, Const<C>, RStride, CStride>>> for Matrix<T, Const<R>, Const<C>, ArrayStorage<T, R, C>> where
    T: Scalar,
    RStride: Dim,
    CStride: Dim

impl<'a, T, C, RStride, CStride> From<Matrix<T, Dynamic, C, SliceStorage<'a, T, Dynamic, C, RStride, CStride>>> for Matrix<T, Dynamic, C, VecStorage<T, Dynamic, C>> where
    T: Scalar,
    C: Dim,
    RStride: Dim,
    CStride: Dim

impl<'a, T, R, RStride, CStride> From<Matrix<T, R, Dynamic, SliceStorage<'a, T, R, Dynamic, RStride, CStride>>> for Matrix<T, R, Dynamic, VecStorage<T, R, Dynamic>> where
    T: Scalar,
    R: DimName,
    RStride: Dim,
    CStride: Dim

impl<'a, T, RStride, CStride, const R: usize, const C: usize> From<Matrix<T, Const<R>, Const<C>, SliceStorageMut<'a, T, Const<R>, Const<C>, RStride, CStride>>> for Matrix<T, Const<R>, Const<C>, ArrayStorage<T, R, C>> where
    T: Scalar,
    RStride: Dim,
    CStride: Dim

impl<'a, T, C, RStride, CStride> From<Matrix<T, Dynamic, C, SliceStorageMut<'a, T, Dynamic, C, RStride, CStride>>> for Matrix<T, Dynamic, C, VecStorage<T, Dynamic, C>> where
    T: Scalar,
    C: Dim,
    RStride: Dim,
    CStride: Dim

impl<'a, T, R, RStride, CStride> From<Matrix<T, R, Dynamic, SliceStorageMut<'a, T, R, Dynamic, RStride, CStride>>> for Matrix<T, R, Dynamic, VecStorage<T, R, Dynamic>> where
    T: Scalar,
    R: DimName,
    RStride: Dim,
    CStride: Dim

impl<'a, T, R, C, RSlice, CSlice, RStride, CStride, S> From<&'a Matrix<T, R, C, S>> for MatrixSlice<'a, T, RSlice, CSlice, RStride, CStride> where
    T: Scalar,
    R: Dim,
    C: Dim,
    RSlice: Dim,
    CSlice: Dim,
    RStride: Dim,
    CStride: Dim,
    S: Storage<T, R, C>,
    ShapeConstraint: DimEq<R, RSlice> + DimEq<C, CSlice> + DimEq<RStride, S::RStride> + DimEq<CStride, S::CStride>, 

impl<'a, T, R, C, RSlice, CSlice, RStride, CStride, S> From<&'a mut Matrix<T, R, C, S>> for MatrixSlice<'a, T, RSlice, CSlice, RStride, CStride> where
    T: Scalar,
    R: Dim,
    C: Dim,
    RSlice: Dim,
    CSlice: Dim,
    RStride: Dim,
    CStride: Dim,
    S: Storage<T, R, C>,
    ShapeConstraint: DimEq<R, RSlice> + DimEq<C, CSlice> + DimEq<RStride, S::RStride> + DimEq<CStride, S::CStride>, 

impl<'a, T, R, C, RSlice, CSlice, RStride, CStride, S> From<&'a mut Matrix<T, R, C, S>> for MatrixSliceMut<'a, T, RSlice, CSlice, RStride, CStride> where
    T: Scalar,
    R: Dim,
    C: Dim,
    RSlice: Dim,
    CSlice: Dim,
    RStride: Dim,
    CStride: Dim,
    S: StorageMut<T, R, C>,
    ShapeConstraint: DimEq<R, RSlice> + DimEq<C, CSlice> + DimEq<RStride, S::RStride> + DimEq<CStride, S::CStride>, 

impl<'a, T: Scalar> From<Vec<T, Global>> for DVector<T>

impl<'a, T: Scalar + Copy> From<&'a [T]> for DVectorSlice<'a, T>

impl<'a, T: Scalar + Copy> From<&'a mut [T]> for DVectorSliceMut<'a, T>

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>; 2]> for OMatrix<T, R, C> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar + SimdValue,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>; 4]> for OMatrix<T, R, C> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar + SimdValue,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>; 8]> for OMatrix<T, R, C> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar + SimdValue,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>; 16]> for OMatrix<T, R, C> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar + SimdValue,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<'a, T, R, C, RStride, CStride> From<Matrix<T, R, C, SliceStorageMut<'a, T, R, C, RStride, CStride>>> for MatrixSlice<'a, T, R, C, RStride, CStride> where
    T: Scalar,
    R: Dim,
    C: Dim,
    RStride: Dim,
    CStride: Dim

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Unit<Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>>; 2]> for Unit<OMatrix<T, R, C>> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Unit<Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>>; 4]> for Unit<OMatrix<T, R, C>> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Unit<Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>>; 8]> for Unit<OMatrix<T, R, C>> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + PrimitiveSimdValue, R: Dim, C: Dim> From<[Unit<Matrix<<T as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<T as SimdValue>::Element, R, C>>::Buffer>>; 16]> for Unit<OMatrix<T, R, C>> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar,
    DefaultAllocator: Allocator<T, R, C> + Allocator<T::Element, R, C>, 

impl<T: Scalar + Zero + One, const D: usize> From<Point<T, D>> for OVector<T, DimNameSum<Const<D>, U1>> where
    Const<D>: DimNameAdd<U1>,
    DefaultAllocator: Allocator<T, DimNameSum<Const<D>, U1>>, 

impl<T: Scalar, const D: usize> From<[T; D]> for Point<T, D>

impl<T: Scalar, const D: usize> From<Matrix<T, Const<D>, Const<1_usize>, <DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer>> for Point<T, D>

impl<T: Scalar + Copy + PrimitiveSimdValue, const D: usize> From<[Point<<T as SimdValue>::Element, D>; 2]> for Point<T, D> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar + Copy,
    <DefaultAllocator as Allocator<T::Element, Const<D>>>::Buffer: Copy

impl<T: Scalar + Copy + PrimitiveSimdValue, const D: usize> From<[Point<<T as SimdValue>::Element, D>; 4]> for Point<T, D> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar + Copy,
    <DefaultAllocator as Allocator<T::Element, Const<D>>>::Buffer: Copy

impl<T: Scalar + Copy + PrimitiveSimdValue, const D: usize> From<[Point<<T as SimdValue>::Element, D>; 8]> for Point<T, D> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar + Copy,
    <DefaultAllocator as Allocator<T::Element, Const<D>>>::Buffer: Copy

impl<T: Scalar + Copy + PrimitiveSimdValue, const D: usize> From<[Point<<T as SimdValue>::Element, D>; 16]> for Point<T, D> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar + Copy,
    <DefaultAllocator as Allocator<T::Element, Const<D>>>::Buffer: Copy

impl<T: RealField> From<Rotation<T, 2_usize>> for Matrix3<T>

impl<T: RealField> From<Rotation<T, 2_usize>> for Matrix2<T>

impl<T: RealField> From<Rotation<T, 3_usize>> for Matrix4<T>

impl<T: RealField> From<Rotation<T, 3_usize>> for Matrix3<T>

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 2]> for Rotation<T, D> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 4]> for Rotation<T, D> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 8]> for Rotation<T, D> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 16]> for Rotation<T, D> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar + Copy

impl<T: SimdRealField> From<Unit<Quaternion<T>>> for Matrix4<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Unit<Quaternion<T>>> for Rotation3<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Rotation<T, 3_usize>> for UnitQuaternion<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Unit<Quaternion<T>>> for Matrix3<T> where
    T::Element: SimdRealField

impl<T: Scalar> From<Matrix<T, Const<{ typenum::$D::USIZE }>, Const<1_usize>, ArrayStorage<T, 4_usize, 1_usize>>> for Quaternion<T>

impl<T: Scalar> From<[T; 4]> for Quaternion<T>

impl<T: Scalar + PrimitiveSimdValue> From<[Quaternion<<T as SimdValue>::Element>; 2]> for Quaternion<T> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue> From<[Quaternion<<T as SimdValue>::Element>; 4]> for Quaternion<T> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue> From<[Quaternion<<T as SimdValue>::Element>; 8]> for Quaternion<T> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue> From<[Quaternion<<T as SimdValue>::Element>; 16]> for Quaternion<T> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Quaternion<<T as SimdValue>::Element>>; 2]> for UnitQuaternion<T> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Quaternion<<T as SimdValue>::Element>>; 4]> for UnitQuaternion<T> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Quaternion<<T as SimdValue>::Element>>; 8]> for UnitQuaternion<T> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Quaternion<<T as SimdValue>::Element>>; 16]> for UnitQuaternion<T> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar + Copy

impl<T: SimdRealField + RealField> From<Unit<DualQuaternion<T>>> for Matrix4<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Unit<DualQuaternion<T>>> for Isometry3<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Isometry<T, Unit<Quaternion<T>>, 3_usize>> for UnitDualQuaternion<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Unit<Complex<T>>> for Rotation2<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Rotation<T, 2_usize>> for UnitComplex<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Unit<Complex<T>>> for Matrix3<T> where
    T::Element: SimdRealField

impl<T: SimdRealField> From<Unit<Complex<T>>> for Matrix2<T> where
    T::Element: SimdRealField

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Complex<<T as SimdValue>::Element>>; 2]> for UnitComplex<T> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Complex<<T as SimdValue>::Element>>; 4]> for UnitComplex<T> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Complex<<T as SimdValue>::Element>>; 8]> for UnitComplex<T> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Copy + PrimitiveSimdValue> From<[Unit<Complex<<T as SimdValue>::Element>>; 16]> for UnitComplex<T> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar + Copy

impl<T: Scalar + Zero + One, const D: usize> From<Translation<T, D>> for OMatrix<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>> where
    Const<D>: DimNameAdd<U1>,
    DefaultAllocator: Allocator<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>> + Allocator<T, Const<D>>, 

impl<T: Scalar, const D: usize> From<Matrix<T, Const<D>, Const<1_usize>, <DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer>> for Translation<T, D>

impl<T: Scalar, const D: usize> From<[T; D]> for Translation<T, D>

impl<T: Scalar, const D: usize> From<Point<T, D>> for Translation<T, D>

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 2]> for Translation<T, D> where
    T: From<[<T as SimdValue>::Element; 2]>,
    T::Element: Scalar

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 4]> for Translation<T, D> where
    T: From<[<T as SimdValue>::Element; 4]>,
    T::Element: Scalar

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 8]> for Translation<T, D> where
    T: From<[<T as SimdValue>::Element; 8]>,
    T::Element: Scalar

impl<T: Scalar + PrimitiveSimdValue, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 16]> for Translation<T, D> where
    T: From<[<T as SimdValue>::Element; 16]>,
    T::Element: Scalar

impl<T: SimdRealField, R: AbstractRotation<T, D>, const D: usize> From<Translation<T, D>> for Isometry<T, R, D>

impl<T: SimdRealField, R, const D: usize> From<Isometry<T, R, D>> for OMatrix<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>> where
    Const<D>: DimNameAdd<U1>,
    R: SubsetOf<OMatrix<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>>>,
    DefaultAllocator: Allocator<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>>, 

impl<T: SimdRealField, R, const D: usize> From<[T; D]> for Isometry<T, R, D> where
    R: AbstractRotation<T, D>, 

impl<T: SimdRealField, R, const D: usize> From<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>> for Isometry<T, R, D> where
    R: AbstractRotation<T, D>, 

impl<T: SimdRealField, R, const D: usize> From<Point<T, D>> for Isometry<T, R, D> where
    R: AbstractRotation<T, D>, 

impl<T: Scalar + PrimitiveSimdValue, R, const D: usize> From<[Isometry<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 2]> for Isometry<T, R, D> where
    T: From<[<T as SimdValue>::Element; 2]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 2]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Copy,
    R::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue, R, const D: usize> From<[Isometry<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 4]> for Isometry<T, R, D> where
    T: From<[<T as SimdValue>::Element; 4]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 4]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Copy,
    R::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue, R, const D: usize> From<[Isometry<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 8]> for Isometry<T, R, D> where
    T: From<[<T as SimdValue>::Element; 8]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 8]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Copy,
    R::Element: Scalar + Copy

impl<T: Scalar + PrimitiveSimdValue, R, const D: usize> From<[Isometry<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 16]> for Isometry<T, R, D> where
    T: From<[<T as SimdValue>::Element; 16]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 16]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Copy,
    R::Element: Scalar + Copy

impl<T: SimdRealField, R, const D: usize> From<Similarity<T, R, D>> for OMatrix<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>> where
    Const<D>: DimNameAdd<U1>,
    R: SubsetOf<OMatrix<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>>>,
    DefaultAllocator: Allocator<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>>, 

impl<T: Scalar + Zero + PrimitiveSimdValue, R, const D: usize> From<[Similarity<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 2]> for Similarity<T, R, D> where
    T: From<[<T as SimdValue>::Element; 2]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 2]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Zero + Copy,
    R::Element: Scalar + Zero + Copy

impl<T: Scalar + Zero + PrimitiveSimdValue, R, const D: usize> From<[Similarity<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 4]> for Similarity<T, R, D> where
    T: From<[<T as SimdValue>::Element; 4]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 4]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Zero + Copy,
    R::Element: Scalar + Zero + Copy

impl<T: Scalar + Zero + PrimitiveSimdValue, R, const D: usize> From<[Similarity<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 8]> for Similarity<T, R, D> where
    T: From<[<T as SimdValue>::Element; 8]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 8]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Zero + Copy,
    R::Element: Scalar + Zero + Copy

impl<T: Scalar + Zero + PrimitiveSimdValue, R, const D: usize> From<[Similarity<<T as SimdValue>::Element, <R as SimdValue>::Element, D>; 16]> for Similarity<T, R, D> where
    T: From<[<T as SimdValue>::Element; 16]>,
    R: SimdValue + AbstractRotation<T, D> + From<[<R as SimdValue>::Element; 16]>,
    R::Element: AbstractRotation<T::Element, D>,
    T::Element: Scalar + Zero + Copy,
    R::Element: Scalar + Zero + Copy

impl<T: RealField, C, const D: usize> From<Transform<T, C, D>> for OMatrix<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>> where
    Const<D>: DimNameAdd<U1>,
    C: TCategory,
    DefaultAllocator: Allocator<T, DimNameSum<Const<D>, U1>, DimNameSum<Const<D>, U1>>, 

impl<T: RealField> From<Orthographic3<T>> for Matrix4<T>

impl<T: RealField> From<Perspective3<T>> for Matrix4<T>

impl<T: Clone + Num> From<T> for Complex<T>

impl<'a, T: Clone + Num> From<&'a T> for Complex<T>

impl<T> From<T> for Ratio<T> where
    T: Clone + Integer

impl<T> From<(T, T)> for Ratio<T> where
    T: Clone + Integer

impl<E: Endian> From<Rel32<E>> for Rela32<E>

impl<E: Endian> From<Rel64<E>> for Rela64<E>

impl<T> From<T> for OnceCell<T>

impl<T> From<T> for OnceCell<T>

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config<I>, I: 'static> From<Error<T, I>> for &'static str

impl<T: Config<I>, I: 'static> From<Error<T, I>> for DispatchError

impl<T: Config<I>, I: 'static> From<Event<T, I>> for ()

impl<T: Config<I>, I: 'static> From<Error<T, I>> for &'static str

impl<T: Config<I>, I: 'static> From<Error<T, I>> for DispatchError

impl<T: Config<I>, I: 'static> From<Event<T, I>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl<T: Config> From<Error<T>> for &'static str

impl<T: Config> From<Error<T>> for DispatchError

impl<T: Config> From<Event<T>> for ()

impl From<Error> for Error

impl<T> From<T> for Compact<T>

impl<'a, T: Copy> From<&'a T> for Compact<T>

impl From<Compact<()>> for ()

impl From<Compact<u8>> for u8

impl From<Compact<u16>> for u16

impl From<Compact<u32>> for u32

impl From<Compact<u64>> for u64

impl From<Compact<u128>> for u128

impl<'a, T: EncodeLike<U>, U: Encode> From<&'a T> for Ref<'a, T, U>

impl From<&'static str> for Error

impl From<VarUint32> for usize

impl From<VarUint32> for u32

impl From<u32> for VarUint32

impl From<usize> for VarUint32

impl From<VarUint64> for u64

impl From<u64> for VarUint64

impl From<VarUint7> for u8

impl From<u8> for VarUint7

impl From<VarInt7> for i8

impl From<i8> for VarInt7

impl From<Uint8> for u8

impl From<u8> for Uint8

impl From<VarInt32> for i32

impl From<i32> for VarInt32

impl From<VarInt64> for i64

impl From<i64> for VarInt64

impl From<Uint32> for u32

impl From<u32> for Uint32

impl From<u64> for Uint64

impl From<Uint64> for u64

impl From<VarUint1> for bool

impl From<bool> for VarUint1

impl From<Unparsed> for Vec<u8>

impl<'a> From<&'a vec128_storage> for &'a [u32; 4]

impl<'a> From<&'a U128> for U128

impl From<U128> for [u8; 16]

impl From<[u8; 16]> for U128

impl<'a> From<&'a [u8; 16]> for U128

impl From<u64> for U128

impl From<u8> for U128

impl From<u16> for U128

impl From<u32> for U128

impl From<usize> for U128

impl From<i64> for U128

impl From<i8> for U128

impl From<i16> for U128

impl From<i32> for U128

impl From<isize> for U128

impl<'a> From<&'a [u8]> for U128

impl From<&'static str> for U128

impl From<u128> for U128

impl From<i128> for U128

impl<'a> From<&'a U256> for U256

impl From<U256> for [u8; 32]

impl From<[u8; 32]> for U256

impl<'a> From<&'a [u8; 32]> for U256

impl From<u64> for U256

impl From<u8> for U256

impl From<u16> for U256

impl From<u32> for U256

impl From<usize> for U256

impl From<i64> for U256

impl From<i8> for U256

impl From<i16> for U256

impl From<i32> for U256

impl From<isize> for U256

impl<'a> From<&'a [u8]> for U256

impl From<&'static str> for U256

impl From<u128> for U256

impl From<i128> for U256

impl<'a> From<&'a U512> for U512

impl From<U512> for [u8; 64]

impl From<[u8; 64]> for U512

impl<'a> From<&'a [u8; 64]> for U512

impl From<u64> for U512

impl From<u8> for U512

impl From<u16> for U512

impl From<u32> for U512

impl From<usize> for U512

impl From<i64> for U512

impl From<i8> for U512

impl From<i16> for U512

impl From<i32> for U512

impl From<isize> for U512

impl<'a> From<&'a [u8]> for U512

impl From<&'static str> for U512

impl From<u128> for U512

impl From<i128> for U512

impl From<[u8; 16]> for H128

impl<'a> From<&'a [u8; 16]> for H128

impl<'a> From<&'a mut [u8; 16]> for H128

impl From<H128> for [u8; 16]

impl From<[u8; 20]> for H160

impl<'a> From<&'a [u8; 20]> for H160

impl<'a> From<&'a mut [u8; 20]> for H160

impl From<H160> for [u8; 20]

impl From<[u8; 32]> for H256

impl<'a> From<&'a [u8; 32]> for H256

impl<'a> From<&'a mut [u8; 32]> for H256

impl From<H256> for [u8; 32]

impl From<[u8; 64]> for H512

impl<'a> From<&'a [u8; 64]> for H512

impl<'a> From<&'a mut [u8; 64]> for H512

impl From<H512> for [u8; 64]

impl From<H160> for H256

impl From<H256> for H160

impl From<U256> for U512

impl From<U128> for U512

impl From<U128> for U256

impl<'a> From<&'a U256> for U512

impl From<Span> for Span

impl From<Group> for TokenTree

impl From<Ident> for TokenTree

impl From<Punct> for TokenTree

impl<X: SampleUniform> From<Range<X>> for Uniform<X>

impl From<Vec<u32, Global>> for IndexVec

impl From<Error> for Error

impl From<Error> for Error

impl<'t> From<Match<'t>> for Range<usize>

impl<'t> From<Match<'t>> for &'t str

impl<'t> From<Match<'t>> for Range<usize>

impl From<Error> for Error

impl From<Error> for Error

impl<T: Form> From<Vec<Field<T>, Global>> for TypeDefComposite<T>

impl<T: Form> From<Vec<Variant<T>, Global>> for TypeDefVariant<T>

impl<T: Form> From<(Path<T>, Vec<TypeParameter<T>, Global>, TypeDef<T>, Vec<<T as Form>::String, Global>)> for Type<T>

impl<T: Form> From<(<T as Form>::String, Option<<T as Form>::Type>)> for TypeParameter<T>

impl<T: Form> From<TypeDefArray<T>> for TypeDef<T>

impl<T: Form> From<TypeDefComposite<T>> for TypeDef<T>

impl<T: Form> From<TypeDefTuple<T>> for TypeDef<T>

impl<T: Form> From<TypeDefBitSequence<T>> for TypeDef<T>

impl<T: Form> From<TypeDefPrimitive> for TypeDef<T>

impl<T: Form> From<TypeDefCompact<T>> for TypeDef<T>

impl<T: Form> From<TypeDefSequence<T>> for TypeDef<T>

impl<T: Form> From<TypeDefVariant<T>> for TypeDef<T>

impl<H> From<H> for XoFTranscript<H> where
    H: Input + ExtendableOutput + Clone

impl<S> From<S> for Secret<S> where
    S: Zeroize

impl From<Error> for Error

impl From<i8> for Value

impl From<i16> for Value

impl From<i32> for Value

impl From<i64> for Value

impl From<isize> for Value

impl From<u8> for Value

impl From<u16> for Value

impl From<u32> for Value

impl From<u64> for Value

impl From<usize> for Value

impl From<f32> for Value

impl From<f64> for Value

impl From<bool> for Value

impl From<String> for Value

impl<'a> From<&'a str> for Value

impl<'a> From<Cow<'a, str>> for Value

impl From<Number> for Value

impl From<Map<String, Value>> for Value

impl<T: Into<Value>> From<Vec<T, Global>> for Value

impl<'a, T: Clone + Into<Value>> From<&'a [T]> for Value

impl From<()> for Value

impl From<u8> for Number

impl From<u16> for Number

impl From<u32> for Number

impl From<u64> for Number

impl From<usize> for Number

impl From<i8> for Number

impl From<i16> for Number

impl From<i32> for Number

impl From<i64> for Number

impl From<isize> for Number

impl From<Box<dyn Error + Sync + Send + 'static, Global>> for Error

impl<'a, A: Array> From<&'a [<A as Array>::Item]> for SmallVec<A> where
    A::Item: Clone

impl<A: Array> From<Vec<<A as Array>::Item, Global>> for SmallVec<A>

impl<A: Array> From<A> for SmallVec<A>

impl From<Box<dyn Error + Sync + Send + 'static, Global>> for ApiError

impl<'a, T> From<T> for ApiRef<'a, T>

impl From<Public> for Public

impl From<Public> for Public

impl From<Pair> for Pair

impl From<Pair> for Pair

impl From<Public> for Public

impl From<Public> for Public

impl From<Pair> for Pair

impl From<Pair> for Pair

impl From<Public> for Public

impl From<Public> for Public

impl From<Pair> for Pair

impl From<Pair> for Pair

impl From<u8> for BigUint

impl From<u16> for BigUint

impl From<u32> for BigUint

impl From<u64> for BigUint

impl From<u128> for BigUint

impl From<i64> for FixedI64

impl<P: PerThing> From<P> for FixedI64 where
    P::Inner: FixedPointOperand

impl From<i128> for FixedI128

impl<P: PerThing> From<P> for FixedI128 where
    P::Inner: FixedPointOperand

impl From<u128> for FixedU128

impl<P: PerThing> From<P> for FixedU128 where
    P::Inner: FixedPointOperand

impl<T: Into<u128>> From<T> for Rational128

impl<T: AsRef<str>> From<T> for DeriveJunction

impl From<u32> for KeyTypeId

impl From<KeyTypeId> for u32

impl From<Pair> for Public

impl From<Public> for [u8; 32]

impl From<Pair> for Public

impl From<Public> for H256

impl From<Signature> for H512

impl From<StorageKind> for u8

impl From<StorageKind> for u32

impl From<HttpError> for u8

impl From<HttpError> for u32

impl From<Box<dyn Externalities + 'static, Global>> for OffchainWorkerExt

impl From<Box<dyn DbExternalities + 'static, Global>> for OffchainDbExt

impl From<Public> for [u8; 32]

impl From<Public> for H256

impl From<Signature> for H512

impl From<SecretKey> for Pair

impl From<Keypair> for Pair

impl From<Pair> for Keypair

impl From<Box<dyn SpawnNamed + 'static, Global>> for TaskExecutorExt

impl From<Box<dyn RuntimeSpawn + 'static, Global>> for RuntimeSpawnExt

impl From<Vec<u8, Global>> for Bytes

impl<R> From<R> for NativeOrEncoded<R>

impl From<LogLevel> for u8

impl From<u32> for LogLevel

impl From<Level> for LogLevel

impl From<LogLevel> for Level

impl From<Box<dyn Error + Sync + Send + 'static, Global>> for Error

impl<E: Encode> From<E> for MakeFatalError<E>

impl From<Arc<dyn SyncCryptoStore + 'static>> for KeystoreExt

impl<Address, Call, Signature, Extra> From<UncheckedExtrinsic<Address, Call, Signature, Extra>> for OpaqueExtrinsic where
    Address: Encode,
    Signature: Encode,
    Call: Encode,
    Extra: SignedExtension

impl<AccountId, AccountIndex> From<AccountId> for MultiAddress<AccountId, AccountIndex>

impl From<&'static str> for RuntimeString

impl<Xt> From<Xt> for ExtrinsicWrapper<Xt>

impl From<BadOrigin> for &'static str

impl From<LookupError> for &'static str

impl From<InvalidTransaction> for &'static str

impl From<UnknownTransaction> for &'static str

impl From<TransactionValidityError> for &'static str

impl<T, E> From<E> for DispatchErrorWithPostInfo<T> where
    T: Eq + PartialEq + Clone + Copy + Encode + Decode + Printable + Default,
    E: Into<DispatchError>, 

impl From<TokenError> for &'static str

impl From<ArithmeticError> for &'static str

impl From<&'static str> for DispatchError

impl From<DispatchError> for &'static str

impl<T> From<DispatchErrorWithPostInfo<T>> for &'static str where
    T: Eq + PartialEq + Clone + Copy + Encode + Decode + Printable

impl<T, O> From<T> for WrappedFFIValue<T, O>

impl<T, O> From<(T, O)> for WrappedFFIValue<T, O>

impl<H: Hasher> From<HashMap<Option<ChildInfo>, BTreeMap<Vec<u8, Global>, Vec<u8, Global>>, RandomState>> for TrieBackend<MemoryDB<H>, H> where
    H::Out: Codec + Ord

impl<H: Hasher> From<Storage> for TrieBackend<MemoryDB<H>, H> where
    H::Out: Codec + Ord

impl<H: Hasher> From<BTreeMap<Vec<u8, Global>, Vec<u8, Global>>> for TrieBackend<MemoryDB<H>, H> where
    H::Out: Codec + Ord

impl<H: Hasher> From<Vec<(Option<ChildInfo>, Vec<(Vec<u8, Global>, Option<Vec<u8, Global>>), Global>), Global>> for TrieBackend<MemoryDB<H>, H> where
    H::Out: Codec + Ord

impl<'a, H: Hasher, B: 'a + Backend<H>> From<&'a B> for ReadOnlyExternalities<'a, H, B>

impl<H: Hasher> From<Storage> for TestExternalities<H> where
    H::Out: Ord + 'static + Codec

impl<'a, F> From<&'a ExecutionManager<F>> for ExecutionStrategy

impl<I> From<I> for KeyValueStates where
    I: IntoIterator<Item = (Vec<u8>, (Vec<(Vec<u8>, Vec<u8>)>, Vec<Vec<u8>>))>, 

impl From<u64> for Timestamp

impl From<Timestamp> for u64

impl From<&'_ Level> for WasmLevel

impl From<u8> for WasmValue

impl From<&'_ i8> for WasmValue

impl From<&'_ str> for WasmValue

impl From<&'_ &'_ str> for WasmValue

impl From<bool> for WasmValue

impl From<Arguments<'_>> for WasmValue

impl From<i8> for WasmValue

impl From<i32> for WasmValue

impl From<&'_ i32> for WasmValue

impl From<u32> for WasmValue

impl From<&'_ u32> for WasmValue

impl From<u64> for WasmValue

impl From<i64> for WasmValue

impl From<&'_ str> for WasmFieldName

impl From<Vec<&'_ str, Global>> for WasmFields

impl From<&'_ FieldSet> for WasmFields

impl From<&'_ Metadata<'_>> for WasmMetadata

impl From<&'_ Event<'_>> for WasmEntryAttributes

impl From<&'_ WasmMetadata> for &'static Metadata<'static>

impl From<Error> for Error

impl<H: Hasher> From<StorageProof> for MemoryDB<H>

impl From<&'_ Signature> for Signature

impl From<ValueType> for u8

impl<T: PointerType> From<u32> for Pointer<T>

impl<T: PointerType> From<Pointer<T>> for u32

impl<T: PointerType> From<Pointer<T>> for u64

impl<T: PointerType> From<Pointer<T>> for usize

impl From<Choice> for bool

impl From<u8> for Choice

impl<T> From<CtOption<T>> for Option<T>

impl From<SelfValue> for Ident

impl From<SelfType> for Ident

impl From<Super> for Ident

impl From<Crate> for Ident

impl From<Extern> for Ident

impl From<Path> for Meta

impl From<MetaList> for Meta

impl From<Meta> for NestedMeta

impl From<Lit> for NestedMeta

impl From<ExprArray> for Expr

impl From<ExprAssign> for Expr

impl From<ExprAsync> for Expr

impl From<ExprAwait> for Expr

impl From<ExprBinary> for Expr

impl From<ExprBlock> for Expr

impl From<ExprBox> for Expr

impl From<ExprBreak> for Expr

impl From<ExprCall> for Expr

impl From<ExprCast> for Expr

impl From<ExprField> for Expr

impl From<ExprGroup> for Expr

impl From<ExprIf> for Expr

impl From<ExprIndex> for Expr

impl From<ExprLet> for Expr

impl From<ExprLit> for Expr

impl From<ExprLoop> for Expr

impl From<ExprMacro> for Expr

impl From<ExprMatch> for Expr

impl From<ExprParen> for Expr

impl From<ExprPath> for Expr

impl From<ExprRange> for Expr

impl From<ExprRepeat> for Expr

impl From<ExprReturn> for Expr

impl From<ExprStruct> for Expr

impl From<ExprTry> for Expr

impl From<ExprTuple> for Expr

impl From<ExprType> for Expr

impl From<ExprUnary> for Expr

impl From<ExprUnsafe> for Expr

impl From<ExprWhile> for Expr

impl From<ExprYield> for Expr

impl From<Ident> for Member

impl From<Index> for Member

impl From<usize> for Member

impl From<usize> for Index

impl From<Ident> for TypeParam

impl From<ItemConst> for Item

impl From<ItemEnum> for Item

impl From<ItemFn> for Item

impl From<ItemImpl> for Item

impl From<ItemMacro> for Item

impl From<ItemMacro2> for Item

impl From<ItemMod> for Item

impl From<ItemStatic> for Item

impl From<ItemStruct> for Item

impl From<ItemTrait> for Item

impl From<ItemType> for Item

impl From<ItemUnion> for Item

impl From<ItemUse> for Item

impl From<UsePath> for UseTree

impl From<UseName> for UseTree

impl From<UseGlob> for UseTree

impl From<Receiver> for FnArg

impl From<PatType> for FnArg

impl From<LitStr> for Lit

impl From<LitByteStr> for Lit

impl From<LitByte> for Lit

impl From<LitChar> for Lit

impl From<LitInt> for Lit

impl From<LitFloat> for Lit

impl From<LitBool> for Lit

impl From<Literal> for LitInt

impl From<DataStruct> for Data

impl From<DataEnum> for Data

impl From<DataUnion> for Data

impl From<TypeArray> for Type

impl From<TypeBareFn> for Type

impl From<TypeGroup> for Type

impl From<TypeInfer> for Type

impl From<TypeMacro> for Type

impl From<TypeNever> for Type

impl From<TypeParen> for Type

impl From<TypePath> for Type

impl From<TypePtr> for Type

impl From<TypeSlice> for Type

impl From<TypeTuple> for Type

impl From<PatBox> for Pat

impl From<PatIdent> for Pat

impl From<PatLit> for Pat

impl From<PatMacro> for Pat

impl From<PatOr> for Pat

impl From<PatPath> for Pat

impl From<PatRange> for Pat

impl From<PatRest> for Pat

impl From<PatSlice> for Pat

impl From<PatStruct> for Pat

impl From<PatTuple> for Pat

impl From<PatType> for Pat

impl From<PatWild> for Pat

impl<T> From<T> for Path where
    T: Into<PathSegment>, 

impl<T> From<T> for PathSegment where
    T: Into<Ident>, 

impl From<LexError> for Error

impl<A: Array> From<A> for ArrayVec<A>

impl<'s, T> From<&'s mut [T]> for SliceVec<'s, T>

impl<'s, T, A> From<&'s mut A> for SliceVec<'s, T> where
    A: AsMut<[T]>, 

impl<A: Array> From<ArrayVec<A>> for TinyVec<A>

impl<A: Array> From<A> for TinyVec<A>

impl<T, A> From<&'_ [T]> for TinyVec<A> where
    T: Clone + Default,
    A: Array<Item = T>, 

impl<T, A> From<&'_ mut [T]> for TinyVec<A> where
    T: Clone + Default,
    A: Array<Item = T>, 

impl<'a> From<&'a str> for Value

impl<V: Into<Value>> From<Vec<V, Global>> for Value

impl<S: Into<String>, V: Into<Value>> From<BTreeMap<S, V>> for Value

impl<S: Into<String> + Hash + Eq, V: Into<Value>> From<HashMap<S, V, RandomState>> for Value

impl From<String> for Value

impl From<i64> for Value

impl From<i32> for Value

impl From<i8> for Value

impl From<u8> for Value

impl From<u32> for Value

impl From<f64> for Value

impl From<f32> for Value

impl From<bool> for Value

impl From<Datetime> for Value

impl From<Map<String, Value>> for Value

impl From<Error> for Error

impl<'a> From<&'a Span> for Option<&'a Id>

impl<'a> From<&'a Span> for Option<Id>

impl From<Span> for Option<Id>

impl<'a> From<&'a EnteredSpan> for Option<&'a Id>

impl<'a> From<&'a EnteredSpan> for Option<Id>

impl<S> From<S> for Dispatch where
    S: Subscriber + Send + Sync + 'static, 

impl<'a> From<&'a Id> for Option<Id>

impl<'a> From<&'a Current> for Option<&'a Id>

impl<'a> From<&'a Current> for Option<Id>

impl From<Current> for Option<Id>

impl<'a> From<&'a Current> for Option<&'static Metadata<'static>>

impl From<Box<dyn Error + Sync + Send + 'static, Global>> for ParseError

impl From<Level> for Directive

impl<S> From<S> for EnvFilter where
    S: AsRef<str>, 

impl<F> From<F> for FilterFn<F> where
    F: Fn(&Metadata<'_>) -> bool

impl<F, S> From<F> for DynFilterFn<S, F> where
    F: Fn(&Metadata<'_>, &Context<'_, S>) -> bool

impl From<Instant> for Uptime

impl<T> From<Option<T>> for OptionalWriter<T>

impl<N, E, F, W> From<SubscriberBuilder<N, E, F, W>> for Dispatch where
    N: for<'writer> FormatFields<'writer> + 'static,
    E: FormatEvent<Registry, N> + 'static,
    W: MakeWriter + 'static,
    F: Layer<Formatter<N, E, W>> + Send + Sync + 'static,
    Layer<Registry, N, E, W>: Layer<Registry> + Send + Sync + 'static, 

impl<'a> From<NibbleSlice<'a>> for NibbleVec

impl<U> From<U> for Error where
    U: HostError + Sized

impl<U> From<U> for Trap where
    U: HostError + Sized

impl From<Trap> for Error

impl From<TrapKind> for Trap

impl From<Error> for Error

impl From<f32> for F32

impl From<F32> for f32

impl From<f64> for F64

impl From<F64> for f64

impl From<u32> for F32

impl From<F32> for u32

impl From<u64> for F64

impl From<F64> for u64

impl From<i8> for RuntimeValue

impl From<u8> for RuntimeValue

impl From<Error> for Error

impl<Z> From<Z> for Zeroizing<Z> where
    Z: Zeroize