From

Trait From 

1.0.0 (const: unstable) · Source
pub trait From<T>: Sized {
    // Required method
    fn from(value: 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 From when specifying trait bounds on a generic function to ensure that types that only implement Into can be used as well.

The From trait 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>. From simplifies error handling by allowing a function to return a single error type that encapsulates multiple error types. See the “Examples” section and the book for more details.

Note: This trait must not fail. The From trait is intended for perfect conversions. If the conversion can fail or is not perfect, 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

§When to implement From

While there’s no technical restrictions on which conversions can be done using a From implementation, the general expectation is that the conversions should typically be restricted as follows:

  • The conversion is infallible: if the conversion can fail, use TryFrom instead; don’t provide a From impl that panics.

  • The conversion is lossless: semantically, it should not lose or discard information. For example, i32: From<u16> exists, where the original value can be recovered using u16: TryFrom<i32>. And String: From<&str> exists, where you can get something equivalent to the original value via Deref. But From cannot be used to convert from u32 to u16, since that cannot succeed in a lossless way. (There’s some wiggle room here for information not considered semantically relevant. For example, Box<[T]>: From<Vec<T>> exists even though it might not preserve capacity, like how two vectors can be equal despite differing capacities.)

  • The conversion is value-preserving: the conceptual kind and meaning of the resulting value is the same, even though the Rust type and technical representation might be different. For example -1_i8 as u8 is lossless, since as casting back can recover the original value, but that conversion is not available via From because -1 and 255 are different conceptual values (despite being identical bit patterns technically). But f32: From<i16> is available because 1_i16 and 1.0_f32 are conceptually the same real number (despite having very different bit patterns technically). String: From<char> is available because they’re both text, but String: From<u32> is not available, since 1 (a number) and "1" (text) are too different. (Converting values to text is instead covered by the Display trait.)

  • The conversion is obvious: it’s the only reasonable conversion between the two types. Otherwise it’s better to have it be a named method or constructor, like how str::as_bytes is a method and how integers have methods like u32::from_ne_bytes, u32::from_le_bytes, and u32::from_be_bytes, none of which are From implementations. Whereas there’s only one reasonable way to wrap an Ipv6Addr into an IpAddr, thus IpAddr: From<Ipv6Addr> exists.

§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 with From::from.

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§

1.0.0 · Source

fn from(value: T) -> Self

Converts to this type from the input type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl From<&'static str> for parity_scale_codec::error::Error

Source§

impl From<&'static str> for primitive_types::U128

Source§

impl From<&'static str> for U512

Source§

impl From<&'static str> for U256

1.21.0 · Source§

impl From<&str> for Arc<str>

Source§

impl From<&str> for allocator_api2::stable::vec::Vec<u8>

1.21.0 · Source§

impl From<&str> for Rc<str>

1.17.0 · Source§

impl From<&str> for sails_rs::prelude::Box<str>

1.0.0 · Source§

impl From<&str> for String

1.0.0 · Source§

impl From<&str> for sails_rs::prelude::Vec<u8>

1.7.0 · Source§

impl From<&CStr> for CString

1.24.0 · Source§

impl From<&CStr> for Arc<CStr>

1.24.0 · Source§

impl From<&CStr> for Rc<CStr>

1.17.0 · Source§

impl From<&CStr> for sails_rs::prelude::Box<CStr>

1.24.0 · Source§

impl From<&OsStr> for Arc<OsStr>

1.24.0 · Source§

impl From<&OsStr> for Rc<OsStr>

1.17.0 · Source§

impl From<&OsStr> for sails_rs::prelude::Box<OsStr>

1.24.0 · Source§

impl From<&Path> for Arc<Path>

1.24.0 · Source§

impl From<&Path> for Rc<Path>

1.17.0 · Source§

impl From<&Path> for sails_rs::prelude::Box<Path>

1.35.0 · Source§

impl From<&String> for String

Source§

impl From<&ChaCha8Rng> for ChaCha8Rng

Source§

impl From<&ChaCha12Rng> for ChaCha12Rng

Source§

impl From<&ChaCha20Rng> for ChaCha20Rng

1.84.0 · Source§

impl From<&mut str> for Arc<str>

1.84.0 · Source§

impl From<&mut str> for Rc<str>

1.84.0 · Source§

impl From<&mut str> for sails_rs::prelude::Box<str>

1.44.0 · Source§

impl From<&mut str> for String

1.84.0 · Source§

impl From<&mut CStr> for Arc<CStr>

1.84.0 · Source§

impl From<&mut CStr> for Rc<CStr>

1.84.0 · Source§

impl From<&mut CStr> for sails_rs::prelude::Box<CStr>

1.84.0 · Source§

impl From<&mut OsStr> for Arc<OsStr>

1.84.0 · Source§

impl From<&mut OsStr> for Rc<OsStr>

1.84.0 · Source§

impl From<&mut OsStr> for sails_rs::prelude::Box<OsStr>

1.84.0 · Source§

impl From<&mut Path> for Arc<Path>

1.84.0 · Source§

impl From<&mut Path> for Rc<Path>

1.84.0 · Source§

impl From<&mut Path> for sails_rs::prelude::Box<Path>

Source§

impl From<RtlError> for sails_rs::errors::Error

Source§

impl From<AsciiChar> for char

Source§

impl From<AsciiChar> for u8

Source§

impl From<AsciiChar> for u16

Source§

impl From<AsciiChar> for u32

Source§

impl From<AsciiChar> for u64

Source§

impl From<AsciiChar> for u128

1.45.0 · Source§

impl From<Cow<'_, str>> for sails_rs::prelude::Box<str>

1.45.0 · Source§

impl From<Cow<'_, CStr>> for sails_rs::prelude::Box<CStr>

1.45.0 · Source§

impl From<Cow<'_, OsStr>> for sails_rs::prelude::Box<OsStr>

1.45.0 · Source§

impl From<Cow<'_, Path>> for sails_rs::prelude::Box<Path>

Source§

impl From<TryReserveErrorKind> for sails_rs::prelude::collections::TryReserveError

1.36.0 (const: unstable) · Source§

impl From<Infallible> for TryFromSliceError

1.34.0 (const: unstable) · Source§

impl From<Infallible> for TryFromIntError

Source§

impl From<ErrorReplyReason> for ReplyCode

Source§

impl From<Result<u32, u32>> for ErrorWithHandle

Source§

impl From<Result<u32, u32>> for ErrorWithSignalCode

Source§

impl From<Result<u64, u32>> for ErrorWithGas

Source§

impl From<Result<(), u32>> for ErrorBytes

Source§

impl From<Result<[u8; 4], u32>> for ErrorWithReplyCode

Source§

impl From<SimpleExecutionError> for ErrorReplyReason

Source§

impl From<SimpleExecutionError> for SignalCode

Source§

impl From<SimpleUnavailableActorError> for ErrorReplyReason

Source§

impl From<SuccessReplyReason> for ReplyCode

1.89.0 · Source§

impl From<TryLockError> for std::io::error::Error

1.14.0 · Source§

impl From<ErrorKind> for std::io::error::Error

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

Source§

impl From<TryReserveErrorKind> for allocator_api2::stable::raw_vec::TryReserveError

Source§

impl From<Error> for sails_rs::errors::Error

Source§

impl From<Error> for gstd::common::errors::Error

Source§

impl From<ExecutionError> for ExtError

Source§

impl From<ExtError> for gcore::errors::Error

Source§

impl From<MemoryError> for ExtError

Source§

impl From<MessageError> for ExtError

Source§

impl From<ReservationError> for ExtError

Source§

impl From<ConversionError> for gstd::common::errors::Error

Source§

impl From<Error> for sails_rs::errors::Error

Source§

impl From<UsageError> for gstd::common::errors::Error

Source§

impl From<FromDecStrErr> for FromStrRadixErr

1.68.0 (const: unstable) · Source§

impl From<bool> for f16

1.68.0 (const: unstable) · Source§

impl From<bool> for f32

1.68.0 (const: unstable) · Source§

impl From<bool> for f64

1.68.0 (const: unstable) · Source§

impl From<bool> for f128

1.28.0 (const: unstable) · Source§

impl From<bool> for i8

1.28.0 (const: unstable) · Source§

impl From<bool> for i16

1.28.0 (const: unstable) · Source§

impl From<bool> for i32

1.28.0 (const: unstable) · Source§

impl From<bool> for i64

1.28.0 (const: unstable) · Source§

impl From<bool> for i128

1.28.0 (const: unstable) · Source§

impl From<bool> for isize

1.28.0 (const: unstable) · Source§

impl From<bool> for u8

1.28.0 (const: unstable) · Source§

impl From<bool> for u16

1.28.0 (const: unstable) · Source§

impl From<bool> for u32

1.28.0 (const: unstable) · Source§

impl From<bool> for u64

1.28.0 (const: unstable) · Source§

impl From<bool> for u128

1.28.0 (const: unstable) · Source§

impl From<bool> for usize

1.24.0 (const: unstable) · Source§

impl From<bool> for AtomicBool

1.13.0 (const: unstable) · Source§

impl From<char> for u32

1.51.0 (const: unstable) · Source§

impl From<char> for u64

1.51.0 (const: unstable) · Source§

impl From<char> for u128

1.46.0 · Source§

impl From<char> for String

1.6.0 (const: unstable) · Source§

impl From<f16> for f64

1.6.0 (const: unstable) · Source§

impl From<f16> for f128

1.6.0 (const: unstable) · Source§

impl From<f32> for f64

1.6.0 (const: unstable) · Source§

impl From<f32> for f128

1.6.0 (const: unstable) · Source§

impl From<f64> for f128

1.6.0 (const: unstable) · Source§

impl From<i8> for f16

1.6.0 (const: unstable) · Source§

impl From<i8> for f32

1.6.0 (const: unstable) · Source§

impl From<i8> for f64

1.6.0 (const: unstable) · Source§

impl From<i8> for f128

1.5.0 (const: unstable) · Source§

impl From<i8> for i16

1.5.0 (const: unstable) · Source§

impl From<i8> for i32

1.5.0 (const: unstable) · Source§

impl From<i8> for i64

1.26.0 (const: unstable) · Source§

impl From<i8> for i128

1.5.0 (const: unstable) · Source§

impl From<i8> for isize

1.34.0 (const: unstable) · Source§

impl From<i8> for AtomicI8

Source§

impl From<i8> for primitive_types::U128

Source§

impl From<i8> for U512

Source§

impl From<i8> for U256

1.6.0 (const: unstable) · Source§

impl From<i16> for f32

1.6.0 (const: unstable) · Source§

impl From<i16> for f64

1.6.0 (const: unstable) · Source§

impl From<i16> for f128

1.5.0 (const: unstable) · Source§

impl From<i16> for i32

1.5.0 (const: unstable) · Source§

impl From<i16> for i64

1.26.0 (const: unstable) · Source§

impl From<i16> for i128

1.26.0 (const: unstable) · Source§

impl From<i16> for isize

1.34.0 (const: unstable) · Source§

impl From<i16> for AtomicI16

Source§

impl From<i16> for primitive_types::U128

Source§

impl From<i16> for U512

Source§

impl From<i16> for U256

1.6.0 (const: unstable) · Source§

impl From<i32> for f64

1.6.0 (const: unstable) · Source§

impl From<i32> for f128

1.5.0 (const: unstable) · Source§

impl From<i32> for i64

1.26.0 (const: unstable) · Source§

impl From<i32> for i128

1.34.0 (const: unstable) · Source§

impl From<i32> for AtomicI32

Source§

impl From<i32> for primitive_types::U128

Source§

impl From<i32> for U512

Source§

impl From<i32> for U256

1.26.0 (const: unstable) · Source§

impl From<i64> for i128

1.34.0 (const: unstable) · Source§

impl From<i64> for AtomicI64

Source§

impl From<i64> for primitive_types::U128

Source§

impl From<i64> for U512

Source§

impl From<i64> for U256

Source§

impl From<i128> for primitive_types::U128

Source§

impl From<i128> for U512

Source§

impl From<i128> for U256

1.23.0 (const: unstable) · Source§

impl From<isize> for AtomicIsize

Source§

impl From<isize> for primitive_types::U128

Source§

impl From<isize> for U512

Source§

impl From<isize> for U256

1.34.0 (const: unstable) · Source§

impl From<!> for Infallible

Source§

impl From<!> for TryFromIntError

1.13.0 (const: unstable) · Source§

impl From<u8> for char

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.

1.6.0 (const: unstable) · Source§

impl From<u8> for f16

1.6.0 (const: unstable) · Source§

impl From<u8> for f32

1.6.0 (const: unstable) · Source§

impl From<u8> for f64

1.6.0 (const: unstable) · Source§

impl From<u8> for f128

1.5.0 (const: unstable) · Source§

impl From<u8> for i16

1.5.0 (const: unstable) · Source§

impl From<u8> for i32

1.5.0 (const: unstable) · Source§

impl From<u8> for i64

1.26.0 (const: unstable) · Source§

impl From<u8> for i128

1.26.0 (const: unstable) · Source§

impl From<u8> for isize

1.5.0 (const: unstable) · Source§

impl From<u8> for u16

1.5.0 (const: unstable) · Source§

impl From<u8> for u32

1.5.0 (const: unstable) · Source§

impl From<u8> for u64

1.26.0 (const: unstable) · Source§

impl From<u8> for u128

1.5.0 (const: unstable) · Source§

impl From<u8> for usize

1.34.0 (const: unstable) · Source§

impl From<u8> for AtomicU8

1.61.0 · Source§

impl From<u8> for ExitCode

Source§

impl From<u8> for primitive_types::U128

Source§

impl From<u8> for U512

Source§

impl From<u8> for Choice

Source§

impl From<u8> for U256

1.6.0 (const: unstable) · Source§

impl From<u16> for f32

1.6.0 (const: unstable) · Source§

impl From<u16> for f64

1.6.0 (const: unstable) · Source§

impl From<u16> for f128

1.5.0 (const: unstable) · Source§

impl From<u16> for i32

1.5.0 (const: unstable) · Source§

impl From<u16> for i64

1.26.0 (const: unstable) · Source§

impl From<u16> for i128

1.5.0 (const: unstable) · Source§

impl From<u16> for u32

1.5.0 (const: unstable) · Source§

impl From<u16> for u64

1.26.0 (const: unstable) · Source§

impl From<u16> for u128

1.26.0 (const: unstable) · Source§

impl From<u16> for usize

1.34.0 (const: unstable) · Source§

impl From<u16> for AtomicU16

Source§

impl From<u16> for primitive_types::U128

Source§

impl From<u16> for U512

Source§

impl From<u16> for U256

1.6.0 (const: unstable) · Source§

impl From<u32> for f64

1.6.0 (const: unstable) · Source§

impl From<u32> for f128

1.5.0 (const: unstable) · Source§

impl From<u32> for i64

1.26.0 (const: unstable) · Source§

impl From<u32> for i128

1.5.0 (const: unstable) · Source§

impl From<u32> for u64

1.26.0 (const: unstable) · Source§

impl From<u32> for u128

1.1.0 (const: unstable) · Source§

impl From<u32> for Ipv4Addr

1.34.0 (const: unstable) · Source§

impl From<u32> for AtomicU32

Source§

impl From<u32> for gprimitives::MessageHandle

Source§

impl From<u32> for primitive_types::U128

Source§

impl From<u32> for U512

Source§

impl From<u32> for U256

1.26.0 (const: unstable) · Source§

impl From<u64> for i128

1.26.0 (const: unstable) · Source§

impl From<u64> for u128

1.34.0 (const: unstable) · Source§

impl From<u64> for AtomicU64

Source§

impl From<u64> for ReservationId

Source§

impl From<u64> for primitive_types::U128

Source§

impl From<u64> for U512

Source§

impl From<u64> for ActorId

Source§

impl From<u64> for CodeId

Source§

impl From<u64> for MessageId

Source§

impl From<u64> for U256

1.26.0 (const: unstable) · Source§

impl From<u128> for Ipv6Addr

Source§

impl From<u128> for primitive_types::U128

Source§

impl From<u128> for U512

Source§

impl From<u128> for U256

1.23.0 (const: unstable) · Source§

impl From<usize> for AtomicUsize

Source§

impl From<usize> for primitive_types::U128

Source§

impl From<usize> for U512

Source§

impl From<usize> for U256

Source§

impl From<MessageHandle> for gprimitives::MessageHandle

1.78.0 · Source§

impl From<TryReserveError> for std::io::error::Error

1.24.0 · Source§

impl From<CString> for Arc<CStr>

1.24.0 · Source§

impl From<CString> for Rc<CStr>

1.20.0 · Source§

impl From<CString> for sails_rs::prelude::Box<CStr>

1.7.0 · Source§

impl From<CString> for sails_rs::prelude::Vec<u8>

1.0.0 · Source§

impl From<NulError> for std::io::error::Error

Source§

impl From<ByteString> for sails_rs::prelude::Vec<u8>

1.62.0 · Source§

impl From<Arc<str>> for Arc<[u8]>

Source§

impl From<Arc<ByteStr>> for Arc<[u8]>

Source§

impl From<Arc<[u8]>> for Arc<ByteStr>

Source§

impl From<LayoutError> for sails_rs::prelude::collections::TryReserveErrorKind

Source§

impl From<LayoutError> for allocator_api2::stable::raw_vec::TryReserveErrorKind

Source§

impl From<__m128> for Simd<f32, 4>

Source§

impl From<__m128d> for Simd<f64, 2>

Source§

impl From<__m128i> for Simd<i8, 16>

Source§

impl From<__m128i> for Simd<i16, 8>

Source§

impl From<__m128i> for Simd<i32, 4>

Source§

impl From<__m128i> for Simd<i64, 2>

Source§

impl From<__m128i> for Simd<isize, 4>

Source§

impl From<__m128i> for Simd<u8, 16>

Source§

impl From<__m128i> for Simd<u16, 8>

Source§

impl From<__m128i> for Simd<u32, 4>

Source§

impl From<__m128i> for Simd<u64, 2>

Source§

impl From<__m128i> for Simd<usize, 4>

Source§

impl From<__m256> for Simd<f32, 8>

Source§

impl From<__m256d> for Simd<f64, 4>

Source§

impl From<__m256i> for Simd<i8, 32>

Source§

impl From<__m256i> for Simd<i16, 16>

Source§

impl From<__m256i> for Simd<i32, 8>

Source§

impl From<__m256i> for Simd<i64, 4>

Source§

impl From<__m256i> for Simd<isize, 8>

Source§

impl From<__m256i> for Simd<u8, 32>

Source§

impl From<__m256i> for Simd<u16, 16>

Source§

impl From<__m256i> for Simd<u32, 8>

Source§

impl From<__m256i> for Simd<u64, 4>

Source§

impl From<__m256i> for Simd<usize, 8>

Source§

impl From<__m512> for Simd<f32, 16>

Source§

impl From<__m512d> for Simd<f64, 8>

Source§

impl From<__m512i> for Simd<i8, 64>

Source§

impl From<__m512i> for Simd<i16, 32>

Source§

impl From<__m512i> for Simd<i32, 16>

Source§

impl From<__m512i> for Simd<i64, 8>

Source§

impl From<__m512i> for Simd<isize, 16>

Source§

impl From<__m512i> for Simd<u8, 64>

Source§

impl From<__m512i> for Simd<u16, 32>

Source§

impl From<__m512i> for Simd<u32, 16>

Source§

impl From<__m512i> for Simd<u64, 8>

Source§

impl From<__m512i> for Simd<usize, 16>

Source§

impl From<Simd<f32, 4>> for __m128

Source§

impl From<Simd<f32, 8>> for __m256

Source§

impl From<Simd<f32, 16>> for __m512

Source§

impl From<Simd<f64, 2>> for __m128d

Source§

impl From<Simd<f64, 4>> for __m256d

Source§

impl From<Simd<f64, 8>> for __m512d

Source§

impl From<Simd<i8, 16>> for __m128i

Source§

impl From<Simd<i8, 32>> for __m256i

Source§

impl From<Simd<i8, 64>> for __m512i

Source§

impl From<Simd<i16, 8>> for __m128i

Source§

impl From<Simd<i16, 16>> for __m256i

Source§

impl From<Simd<i16, 32>> for __m512i

Source§

impl From<Simd<i32, 4>> for __m128i

Source§

impl From<Simd<i32, 8>> for __m256i

Source§

impl From<Simd<i32, 16>> for __m512i

Source§

impl From<Simd<i64, 2>> for __m128i

Source§

impl From<Simd<i64, 4>> for __m256i

Source§

impl From<Simd<i64, 8>> for __m512i

Source§

impl From<Simd<isize, 4>> for __m128i

Source§

impl From<Simd<isize, 8>> for __m256i

Source§

impl From<Simd<isize, 16>> for __m512i

Source§

impl From<Simd<u8, 16>> for __m128i

Source§

impl From<Simd<u8, 32>> for __m256i

Source§

impl From<Simd<u8, 64>> for __m512i

Source§

impl From<Simd<u16, 8>> for __m128i

Source§

impl From<Simd<u16, 16>> for __m256i

Source§

impl From<Simd<u16, 32>> for __m512i

Source§

impl From<Simd<u32, 4>> for __m128i

Source§

impl From<Simd<u32, 8>> for __m256i

Source§

impl From<Simd<u32, 16>> for __m512i

Source§

impl From<Simd<u64, 2>> for __m128i

Source§

impl From<Simd<u64, 4>> for __m256i

Source§

impl From<Simd<u64, 8>> for __m512i

Source§

impl From<Simd<usize, 4>> for __m128i

Source§

impl From<Simd<usize, 8>> for __m256i

Source§

impl From<Simd<usize, 16>> for __m512i

1.16.0 (const: unstable) · Source§

impl From<Ipv4Addr> for IpAddr

1.1.0 (const: unstable) · Source§

impl From<Ipv4Addr> for u32

1.16.0 (const: unstable) · Source§

impl From<Ipv6Addr> for IpAddr

1.26.0 (const: unstable) · Source§

impl From<Ipv6Addr> for u128

1.16.0 (const: unstable) · Source§

impl From<SocketAddrV4> for SocketAddr

1.16.0 (const: unstable) · Source§

impl From<SocketAddrV6> for SocketAddr

1.24.0 · Source§

impl From<OsString> for Arc<OsStr>

1.0.0 · Source§

impl From<OsString> for PathBuf

1.24.0 · Source§

impl From<OsString> for Rc<OsStr>

1.20.0 · Source§

impl From<OsString> for sails_rs::prelude::Box<OsStr>

1.63.0 · Source§

impl From<File> for OwnedFd

1.20.0 · Source§

impl From<File> for Stdio

Source§

impl From<Error> for parity_scale_codec::error::Error

1.87.0 · Source§

impl From<PipeReader> for OwnedFd

1.87.0 · Source§

impl From<PipeReader> for Stdio

1.87.0 · Source§

impl From<PipeWriter> for OwnedFd

1.87.0 · Source§

impl From<PipeWriter> for Stdio

1.74.0 · Source§

impl From<Stderr> for Stdio

1.74.0 · Source§

impl From<Stdout> for Stdio

1.63.0 · Source§

impl From<TcpListener> for OwnedFd

1.63.0 · Source§

impl From<TcpStream> for OwnedFd

1.63.0 · Source§

impl From<UdpSocket> for OwnedFd

1.63.0 · Source§

impl From<OwnedFd> for File

1.87.0 · Source§

impl From<OwnedFd> for PipeReader

1.87.0 · Source§

impl From<OwnedFd> for PipeWriter

1.63.0 · Source§

impl From<OwnedFd> for TcpListener

1.63.0 · Source§

impl From<OwnedFd> for TcpStream

1.63.0 · Source§

impl From<OwnedFd> for UdpSocket

Source§

impl From<OwnedFd> for PidFd

1.63.0 · Source§

impl From<OwnedFd> for UnixDatagram

1.63.0 · Source§

impl From<OwnedFd> for UnixListener

1.63.0 · Source§

impl From<OwnedFd> for UnixStream

1.74.0 · Source§

impl From<OwnedFd> for ChildStderr

Creates a ChildStderr from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.74.0 · Source§

impl From<OwnedFd> for ChildStdin

Creates a ChildStdin from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.74.0 · Source§

impl From<OwnedFd> for ChildStdout

Creates a ChildStdout from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.63.0 · Source§

impl From<OwnedFd> for Stdio

Source§

impl From<PidFd> for OwnedFd

1.63.0 · Source§

impl From<UnixDatagram> for OwnedFd

1.63.0 · Source§

impl From<UnixListener> for OwnedFd

1.63.0 · Source§

impl From<UnixStream> for OwnedFd

1.24.0 · Source§

impl From<PathBuf> for Arc<Path>

1.14.0 · Source§

impl From<PathBuf> for OsString

1.24.0 · Source§

impl From<PathBuf> for Rc<Path>

1.20.0 · Source§

impl From<PathBuf> for sails_rs::prelude::Box<Path>

1.63.0 · Source§

impl From<ChildStderr> for OwnedFd

1.20.0 · Source§

impl From<ChildStderr> for Stdio

1.63.0 · Source§

impl From<ChildStdin> for OwnedFd

1.20.0 · Source§

impl From<ChildStdin> for Stdio

1.63.0 · Source§

impl From<ChildStdout> for OwnedFd

1.20.0 · Source§

impl From<ChildStdout> for Stdio

Source§

impl From<ExitStatusError> for ExitStatus

1.24.0 · Source§

impl From<RecvError> for RecvTimeoutError

1.24.0 · Source§

impl From<RecvError> for TryRecvError

Source§

impl From<SyscallError> for Result<(), Error>

Source§

impl From<RawSs58Address> for [u8; 32]

Source§

impl From<Error> for std::io::error::Error

Source§

impl From<Error> for rand_core::error::Error

Source§

impl From<MessageHandle> for u32

Source§

impl From<MessageHandle> for sails_rs::gstd::msg::MessageHandle

Source§

impl From<ReservationId> for H256

Source§

impl From<ReservationId> for [u8; 32]

Source§

impl From<Reservation> for ReservationId

Source§

impl From<Compact<u8>> for u8

Source§

impl From<Compact<u16>> for u16

Source§

impl From<Compact<u32>> for u32

Source§

impl From<Compact<u64>> for u64

Source§

impl From<Compact<u128>> for u128

Source§

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

Source§

impl From<u32x4_generic> for vec128_storage

Source§

impl From<u64x2_generic> for vec128_storage

Source§

impl From<u128x1_generic> for vec128_storage

Source§

impl From<vec256_storage> for [u64; 4]

Source§

impl From<H128> for [u8; 16]

Source§

impl From<H384> for [u8; 48]

Source§

impl From<H512> for [u8; 64]

Source§

impl From<H768> for [u8; 96]

Source§

impl From<U128> for U512

Source§

impl From<U128> for U256

Source§

impl From<U128> for [u8; 16]

Source§

impl From<U512> for [u8; 64]

Source§

impl From<ChaCha8Core> for ChaCha8Rng

Source§

impl From<ChaCha12Core> for ChaCha12Rng

Source§

impl From<ChaCha20Core> for ChaCha20Rng

Source§

impl From<Error> for std::io::error::Error

Source§

impl From<Registry> for PortableRegistry

Source§

impl From<Choice> for bool

Source§

impl From<FromHexError> for FromStrRadixErr

1.41.0 (const: unstable) · Source§

impl From<NonZero<i8>> for NonZero<i16>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i8>> for NonZero<i32>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i8>> for NonZero<i64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i8>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i8>> for NonZero<isize>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i16>> for NonZero<i32>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i16>> for NonZero<i64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i16>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i16>> for NonZero<isize>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i32>> for NonZero<i64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i32>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<i64>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<i16>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<i32>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<i64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<isize>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<u16>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<u32>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<u64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<u128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u8>> for NonZero<usize>

Source§

impl From<NonZero<u8>> for NonZeroU256

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<i32>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<i64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<u32>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<u64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<u128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u16>> for NonZero<usize>

Source§

impl From<NonZero<u16>> for NonZeroU256

Source§

impl From<NonZero<u32>> for getrandom::error::Error

Source§

impl From<NonZero<u32>> for rand_core::error::Error

1.41.0 (const: unstable) · Source§

impl From<NonZero<u32>> for NonZero<i64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u32>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u32>> for NonZero<u64>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u32>> for NonZero<u128>

Source§

impl From<NonZero<u32>> for NonZeroU256

1.41.0 (const: unstable) · Source§

impl From<NonZero<u64>> for NonZero<i128>

1.41.0 (const: unstable) · Source§

impl From<NonZero<u64>> for NonZero<u128>

Source§

impl From<NonZero<u64>> for NonZeroU256

Source§

impl From<NonZero<u128>> for NonZeroU256

Source§

impl From<Alignment> for usize

Source§

impl From<Alignment> for NonZero<usize>

1.62.0 · Source§

impl From<Rc<str>> for Rc<[u8]>

Source§

impl From<Rc<ByteStr>> for Rc<[u8]>

Source§

impl From<Rc<[u8]>> for Rc<ByteStr>

Source§

impl From<ActorId> for H256

Source§

impl From<ActorId> for [u8; 32]

1.18.0 · Source§

impl From<Box<str>> for String

1.18.0 · Source§

impl From<Box<CStr>> for CString

Source§

impl From<Box<ByteStr>> for sails_rs::prelude::Box<[u8]>

1.18.0 · Source§

impl From<Box<OsStr>> for OsString

1.18.0 · Source§

impl From<Box<Path>> for PathBuf

Source§

impl From<Box<[u8]>> for sails_rs::prelude::Box<ByteStr>

Source§

impl From<CodeId> for H256

Source§

impl From<CodeId> for [u8; 32]

Source§

impl From<H160> for ActorId

Source§

impl From<H160> for H256

Source§

impl From<H160> for [u8; 20]

Source§

impl From<H256> for ReservationId

Source§

impl From<H256> for ActorId

Source§

impl From<H256> for CodeId

Source§

impl From<H256> for H160

Source§

impl From<H256> for MessageId

Source§

impl From<H256> for [u8; 32]

Source§

impl From<MessageId> for H256

Source§

impl From<MessageId> for [u8; 32]

Source§

impl From<NonZeroU256> for U256

1.21.0 · Source§

impl From<String> for Arc<str>

1.0.0 · Source§

impl From<String> for OsString

1.0.0 · Source§

impl From<String> for PathBuf

1.21.0 · Source§

impl From<String> for Rc<str>

1.20.0 · Source§

impl From<String> for sails_rs::prelude::Box<str>

1.14.0 · Source§

impl From<String> for sails_rs::prelude::Vec<u8>

Source§

impl From<U256> for U512

Source§

impl From<U256> for [u8; 32]

Source§

impl From<Vec<u8>> for ErrorReplyPayload

Source§

impl From<Vec<u32>> for IndexVec

Source§

impl From<Vec<usize>> for IndexVec

1.43.0 · Source§

impl From<Vec<NonZero<u8>>> for CString

Source§

impl From<vec128_storage> for [u32; 4]

Source§

impl From<vec128_storage> for [u64; 2]

1.17.0 (const: unstable) · Source§

impl From<[u8; 4]> for IpAddr

1.9.0 (const: unstable) · Source§

impl From<[u8; 4]> for Ipv4Addr

1.17.0 (const: unstable) · Source§

impl From<[u8; 16]> for IpAddr

1.9.0 (const: unstable) · Source§

impl From<[u8; 16]> for Ipv6Addr

Source§

impl From<[u8; 16]> for H128

Source§

impl From<[u8; 16]> for primitive_types::U128

Source§

impl From<[u8; 20]> for H160

Source§

impl From<[u8; 32]> for RawSs58Address

Source§

impl From<[u8; 32]> for ReservationId

Source§

impl From<[u8; 32]> for ActorId

Source§

impl From<[u8; 32]> for CodeId

Source§

impl From<[u8; 32]> for H256

Source§

impl From<[u8; 32]> for MessageId

Source§

impl From<[u8; 32]> for U256

Source§

impl From<[u8; 48]> for H384

Source§

impl From<[u8; 64]> for H512

Source§

impl From<[u8; 64]> for U512

Source§

impl From<[u8; 96]> for H768

1.17.0 (const: unstable) · Source§

impl From<[u16; 8]> for IpAddr

1.16.0 (const: unstable) · Source§

impl From<[u16; 8]> for Ipv6Addr

Source§

impl From<[u32; 4]> for vec128_storage

Source§

impl From<[u64; 2]> for vec128_storage

Source§

impl From<[u64; 4]> for vec256_storage

1.0.0 · Source§

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

1.28.0 · Source§

impl<'a> From<&'a CStr> for Cow<'a, CStr>

1.28.0 · Source§

impl<'a> From<&'a CString> for Cow<'a, CStr>

Source§

impl<'a> From<&'a ByteString> for Cow<'a, ByteStr>

Source§

impl<'a> From<&'a ByteStr> for Cow<'a, ByteStr>

Source§

impl<'a> From<&'a ByteStr> for ByteString

1.28.0 · Source§

impl<'a> From<&'a OsStr> for Cow<'a, OsStr>

1.28.0 · Source§

impl<'a> From<&'a OsString> for Cow<'a, OsStr>

1.6.0 · Source§

impl<'a> From<&'a Path> for Cow<'a, Path>

1.28.0 · Source§

impl<'a> From<&'a PathBuf> for Cow<'a, Path>

Source§

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

Source§

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

Source§

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

1.28.0 · Source§

impl<'a> From<&'a String> for Cow<'a, str>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'a> From<&'a [u8; 48]> for H384

Source§

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

Source§

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

Source§

impl<'a> From<&'a [u8; 96]> for H768

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'a> From<&'a mut [u8; 48]> for H384

Source§

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

Source§

impl<'a> From<&'a mut [u8; 96]> for H768

1.6.0 · Source§

impl<'a> From<&str> for sails_rs::prelude::Box<dyn Error + 'a>

1.0.0 · Source§

impl<'a> From<&str> for sails_rs::prelude::Box<dyn Error + Send + Sync + 'a>

1.14.0 · Source§

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

1.28.0 · Source§

impl<'a> From<Cow<'a, CStr>> for CString

1.28.0 · Source§

impl<'a> From<Cow<'a, OsStr>> for OsString

1.28.0 · Source§

impl<'a> From<Cow<'a, Path>> for PathBuf

1.28.0 · Source§

impl<'a> From<CString> for Cow<'a, CStr>

Source§

impl<'a> From<ByteString> for Cow<'a, ByteStr>

1.28.0 · Source§

impl<'a> From<OsString> for Cow<'a, OsStr>

1.6.0 · Source§

impl<'a> From<PathBuf> for Cow<'a, Path>

Source§

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

Source§

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

Source§

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

Source§

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

1.0.0 · Source§

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

1.6.0 · Source§

impl<'a> From<String> for sails_rs::prelude::Box<dyn Error + 'a>

1.0.0 · Source§

impl<'a> From<String> for sails_rs::prelude::Box<dyn Error + Send + Sync + 'a>

1.22.0 · Source§

impl<'a, 'b> From<Cow<'b, str>> for sails_rs::prelude::Box<dyn Error + 'a>

1.22.0 · Source§

impl<'a, 'b> From<Cow<'b, str>> for sails_rs::prelude::Box<dyn Error + Send + Sync + 'a>

1.45.0 · Source§

impl<'a, B> From<Cow<'a, B>> for Arc<B>
where B: ToOwned + ?Sized, Arc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

1.45.0 · Source§

impl<'a, B> From<Cow<'a, B>> for Rc<B>
where B: ToOwned + ?Sized, Rc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

1.0.0 · Source§

impl<'a, E> From<E> for sails_rs::prelude::Box<dyn Error + 'a>
where E: Error + 'a,

1.0.0 · Source§

impl<'a, E> From<E> for sails_rs::prelude::Box<dyn Error + Send + Sync + 'a>
where E: Error + Send + Sync + 'a,

Source§

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

Source§

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

Source§

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

Source§

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

1.30.0 (const: unstable) · Source§

impl<'a, T> From<&'a Option<T>> for Option<&'a T>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'a, T> From<&'a [T; 33]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 34]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 35]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 36]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 37]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 38]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 39]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 40]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 41]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 42]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 43]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 44]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 45]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 46]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 47]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 48]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 49]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 50]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 51]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 52]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 53]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 54]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 55]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 56]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 57]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 58]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 59]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 60]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 61]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a [T; 62]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 63]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a [T; 64]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 70]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 80]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 90]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a [T; 100]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 128]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 200]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 256]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 300]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 400]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 500]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 512]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 1000]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a [T; 1024]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

1.8.0 · Source§

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

Source§

impl<'a, T> From<&'a GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
where T: OutputSizeUser,

1.28.0 · Source§

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

1.30.0 (const: unstable) · Source§

impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'a, T> From<&'a mut [T; 33]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 34]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 35]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 36]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 37]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 38]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 39]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 40]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 41]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 42]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 43]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 44]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 45]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 46]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 47]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 48]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 49]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 50]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 51]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 52]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 53]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 54]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 55]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 56]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 57]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 58]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 59]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 60]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 61]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 62]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 63]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>

Source§

impl<'a, T> From<&'a mut [T; 64]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 70]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 80]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 90]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 100]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 128]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 200]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 256]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 300]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 400]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 500]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 512]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 1000]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>

Source§

impl<'a, T> From<&'a mut [T; 1024]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

1.14.0 · Source§

impl<'a, T> From<Cow<'a, [T]>> for sails_rs::prelude::Vec<T>
where [T]: ToOwned<Owned = Vec<T>>,

Source§

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

Source§

impl<'a, T> From<&'a T> for CompactRef<'a, T>

Source§

impl<'a, T> From<&'a T> for Ptr<'a, T>
where T: 'a + ?Sized,

Source§

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

1.8.0 · Source§

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

Source§

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

Source§

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

Source§

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

1.77.0 · Source§

impl<'a, T, const N: usize> From<&'a [T; N]> for Cow<'a, [T]>
where T: Clone,

Source§

impl<'data> From<&'data mut [u8]> for BorrowedBuf<'data>

Creates a new BorrowedBuf from a fully initialized slice.

Source§

impl<'data> From<&'data mut [MaybeUninit<u8>]> for BorrowedBuf<'data>

Creates a new BorrowedBuf from an uninitialized buffer.

Use set_init if part of the buffer is known to be already initialized.

Source§

impl<'data> From<BorrowedCursor<'data>> for BorrowedBuf<'data>

Creates a new BorrowedBuf from a cursor.

Use BorrowedCursor::with_unfilled_buf instead for a safer alternative.

Source§

impl<A> From<&str> for allocator_api2::stable::boxed::Box<str, A>
where A: Allocator + Default,

Source§

impl<A> From<Box<str, A>> for allocator_api2::stable::boxed::Box<[u8], A>
where A: Allocator,

1.19.0 · Source§

impl<A> From<Box<str, A>> for sails_rs::prelude::Box<[u8], A>
where A: Allocator,

Source§

impl<E> From<E> for Report<E>
where E: Error,

Source§

impl<F> From<TypeDefPrimitive> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefPrimitive> for Type<F>
where F: Form,

Source§

impl<F> From<TypeDefComposite<F>> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefArray<F>> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefArray<F>> for Type<F>
where F: Form,

Source§

impl<F> From<TypeDefBitSequence<F>> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefBitSequence<F>> for Type<F>
where F: Form,

Source§

impl<F> From<TypeDefCompact<F>> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefCompact<F>> for Type<F>
where F: Form,

Source§

impl<F> From<TypeDefSequence<F>> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefSequence<F>> for Type<F>
where F: Form,

Source§

impl<F> From<TypeDefTuple<F>> for TypeDef<F>
where F: Form,

Source§

impl<F> From<TypeDefTuple<F>> for Type<F>
where F: Form,

Source§

impl<F> From<TypeDefVariant<F>> for TypeDef<F>
where F: Form,

1.17.0 (const: unstable) · Source§

impl<I> From<(I, u16)> for SocketAddr
where I: Into<IpAddr>,

Source§

impl<K, V, A, const N: usize> From<[(K, V); N]> for sails_rs::prelude::collections::HashMap<K, V, RandomState, A>
where K: Eq + Hash, A: Default + Allocator,

Source§

impl<K, V, A, const N: usize> From<[(K, V); N]> for hashbrown::map::HashMap<K, V, BuildHasherDefault<AHasher>, A>
where K: Eq + Hash, A: Default + Allocator,

1.56.0 · Source§

impl<K, V, const N: usize> From<[(K, V); N]> for BTreeMap<K, V>
where K: Ord,

1.56.0 · Source§

impl<K, V, const N: usize> From<[(K, V); N]> for std::collections::hash::map::HashMap<K, V>
where K: Eq + Hash,

Source§

impl<O> From<f32> for F32<O>
where O: ByteOrder,

Source§

impl<O> From<f64> for F64<O>
where O: ByteOrder,

Source§

impl<O> From<i16> for I16<O>
where O: ByteOrder,

Source§

impl<O> From<i32> for I32<O>
where O: ByteOrder,

Source§

impl<O> From<i64> for I64<O>
where O: ByteOrder,

Source§

impl<O> From<i128> for I128<O>
where O: ByteOrder,

Source§

impl<O> From<u16> for U16<O>
where O: ByteOrder,

Source§

impl<O> From<u32> for U32<O>
where O: ByteOrder,

Source§

impl<O> From<u64> for U64<O>
where O: ByteOrder,

Source§

impl<O> From<u128> for zerocopy::byteorder::U128<O>
where O: ByteOrder,

Source§

impl<O> From<F32<O>> for f32
where O: ByteOrder,

Source§

impl<O> From<F32<O>> for f64
where O: ByteOrder,

Source§

impl<O> From<F32<O>> for [u8; 4]
where O: ByteOrder,

Source§

impl<O> From<F64<O>> for f64
where O: ByteOrder,

Source§

impl<O> From<F64<O>> for [u8; 8]
where O: ByteOrder,

Source§

impl<O> From<I16<O>> for i16
where O: ByteOrder,

Source§

impl<O> From<I16<O>> for i32
where O: ByteOrder,

Source§

impl<O> From<I16<O>> for i64
where O: ByteOrder,

Source§

impl<O> From<I16<O>> for i128
where O: ByteOrder,

Source§

impl<O> From<I16<O>> for isize
where O: ByteOrder,

Source§

impl<O> From<I16<O>> for [u8; 2]
where O: ByteOrder,

Source§

impl<O> From<I32<O>> for i32
where O: ByteOrder,

Source§

impl<O> From<I32<O>> for i64
where O: ByteOrder,

Source§

impl<O> From<I32<O>> for i128
where O: ByteOrder,

Source§

impl<O> From<I32<O>> for [u8; 4]
where O: ByteOrder,

Source§

impl<O> From<I64<O>> for i64
where O: ByteOrder,

Source§

impl<O> From<I64<O>> for i128
where O: ByteOrder,

Source§

impl<O> From<I64<O>> for [u8; 8]
where O: ByteOrder,

Source§

impl<O> From<I128<O>> for i128
where O: ByteOrder,

Source§

impl<O> From<I128<O>> for [u8; 16]
where O: ByteOrder,

Source§

impl<O> From<U16<O>> for u16
where O: ByteOrder,

Source§

impl<O> From<U16<O>> for u32
where O: ByteOrder,

Source§

impl<O> From<U16<O>> for u64
where O: ByteOrder,

Source§

impl<O> From<U16<O>> for u128
where O: ByteOrder,

Source§

impl<O> From<U16<O>> for usize
where O: ByteOrder,

Source§

impl<O> From<U16<O>> for [u8; 2]
where O: ByteOrder,

Source§

impl<O> From<U32<O>> for u32
where O: ByteOrder,

Source§

impl<O> From<U32<O>> for u64
where O: ByteOrder,

Source§

impl<O> From<U32<O>> for u128
where O: ByteOrder,

Source§

impl<O> From<U32<O>> for [u8; 4]
where O: ByteOrder,

Source§

impl<O> From<U64<O>> for u64
where O: ByteOrder,

Source§

impl<O> From<U64<O>> for u128
where O: ByteOrder,

Source§

impl<O> From<U64<O>> for [u8; 8]
where O: ByteOrder,

Source§

impl<O> From<U128<O>> for u128
where O: ByteOrder,

Source§

impl<O> From<U128<O>> for [u8; 16]
where O: ByteOrder,

Source§

impl<O> From<[u8; 2]> for I16<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 2]> for U16<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 4]> for F32<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 4]> for I32<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 4]> for U32<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 8]> for F64<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 8]> for I64<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 8]> for U64<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 16]> for I128<O>
where O: ByteOrder,

Source§

impl<O> From<[u8; 16]> for zerocopy::byteorder::U128<O>
where O: ByteOrder,

Source§

impl<O, P> From<F32<O>> for F64<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<I16<O>> for I32<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<I16<O>> for I64<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<I16<O>> for I128<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<I32<O>> for I64<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<I32<O>> for I128<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<I64<O>> for I128<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<U16<O>> for U32<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<U16<O>> for U64<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<U16<O>> for zerocopy::byteorder::U128<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<U32<O>> for U64<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<U32<O>> for zerocopy::byteorder::U128<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<O, P> From<U64<O>> for zerocopy::byteorder::U128<P>
where O: ByteOrder, P: ByteOrder,

Source§

impl<T1, T2> From<Result<(T1, T2), u32>> for ErrorWithTwoHashes
where T1: Into<[u8; 32]>, T2: Into<[u8; 32]>,

1.21.0 · Source§

impl<T> From<&[T]> for Arc<[T]>
where T: Clone,

Source§

impl<T> From<&[T]> for allocator_api2::stable::vec::Vec<T>
where T: Clone,

1.21.0 · Source§

impl<T> From<&[T]> for Rc<[T]>
where T: Clone,

1.17.0 · Source§

impl<T> From<&[T]> for sails_rs::prelude::Box<[T]>
where T: Clone,

1.0.0 · Source§

impl<T> From<&[T]> for sails_rs::prelude::Vec<T>
where T: Clone,

1.84.0 · Source§

impl<T> From<&mut [T]> for Arc<[T]>
where T: Clone,

Source§

impl<T> From<&mut [T]> for allocator_api2::stable::vec::Vec<T>
where T: Clone,

1.84.0 · Source§

impl<T> From<&mut [T]> for Rc<[T]>
where T: Clone,

1.84.0 · Source§

impl<T> From<&mut [T]> for sails_rs::prelude::Box<[T]>
where T: Clone,

1.19.0 · Source§

impl<T> From<&mut [T]> for sails_rs::prelude::Vec<T>
where T: Clone,

Source§

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

Source§

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

Source§

impl<T> From<(T, u128)> for CommandReply<T>

1.45.0 · Source§

impl<T> From<Cow<'_, [T]>> for sails_rs::prelude::Box<[T]>
where T: Clone,

Source§

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

Source§

impl<T> From<Result<T, u32>> for ErrorWithHash
where T: Into<[u8; 32]>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

1.71.0 · Source§

impl<T> From<[T; N]> for (T₁, T₂, …, Tₙ)

This trait is implemented for tuples up to twelve items long.

1.34.0 (const: unstable) · Source§

impl<T> From<!> for T

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.

1.23.0 (const: unstable) · Source§

impl<T> From<*mut T> for AtomicPtr<T>

1.0.0 · Source§

impl<T> From<&T> for OsString
where T: AsRef<OsStr> + ?Sized,

1.0.0 · Source§

impl<T> From<&T> for PathBuf
where T: AsRef<OsStr> + ?Sized,

1.25.0 (const: unstable) · Source§

impl<T> From<&T> for NonNull<T>
where T: ?Sized,

1.25.0 (const: unstable) · Source§

impl<T> From<&mut T> for NonNull<T>
where T: ?Sized,

1.71.0 · Source§

impl<T> From<(T₁, T₂, …, Tₙ)> for [T; N]

This trait is implemented for tuples up to twelve items long.

Source§

impl<T> From<u32> for UntrackedSymbol<T>

Source§

impl<T> From<Range<T>> for sails_rs::prelude::ops::Range<T>

Source§

impl<T> From<RangeFrom<T>> for sails_rs::prelude::ops::RangeFrom<T>

Source§

impl<T> From<RangeInclusive<T>> for sails_rs::prelude::ops::RangeInclusive<T>

Source§

impl<T> From<SendError<T>> for SendTimeoutError<T>

1.24.0 · Source§

impl<T> From<SendError<T>> for TrySendError<T>

1.0.0 · Source§

impl<T> From<PoisonError<T>> for TryLockError<T>

Source§

impl<T> From<GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
where T: OutputSizeUser,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

1.31.0 (const: unstable) · Source§

impl<T> From<NonZero<T>> for T

Source§

impl<T> From<Range<T>> for core::range::Range<T>

Source§

impl<T> From<RangeFrom<T>> for core::range::RangeFrom<T>

Source§

impl<T> From<RangeInclusive<T>> for core::range::RangeInclusive<T>

Source§

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

Source§

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

1.12.0 (const: unstable) · Source§

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

1.36.0 (const: unstable) · Source§

impl<T> From<T> for Poll<T>

Source§

impl<T> From<T> for CommandReply<T>

1.12.0 (const: unstable) · Source§

impl<T> From<T> for Cell<T>

1.70.0 (const: unstable) · Source§

impl<T> From<T> for sails_rs::prelude::cell::OnceCell<T>

1.12.0 (const: unstable) · Source§

impl<T> From<T> for RefCell<T>

Source§

impl<T> From<T> for SyncUnsafeCell<T>

1.12.0 (const: unstable) · Source§

impl<T> From<T> for UnsafeCell<T>

1.6.0 · Source§

impl<T> From<T> for Arc<T>

Source§

impl<T> From<T> for Exclusive<T>

Source§

impl<T> From<T> for std::sync::nonpoison::mutex::Mutex<T>

Source§

impl<T> From<T> for std::sync::nonpoison::rwlock::RwLock<T>

1.70.0 · Source§

impl<T> From<T> for OnceLock<T>

1.24.0 · Source§

impl<T> From<T> for std::sync::poison::mutex::Mutex<T>

1.24.0 · Source§

impl<T> From<T> for std::sync::poison::rwlock::RwLock<T>

Source§

impl<T> From<T> for ReentrantLock<T>

Source§

impl<T> From<T> for allocator_api2::stable::boxed::Box<T>

Source§

impl<T> From<T> for gstd::sync::mutex::Mutex<T>

Source§

impl<T> From<T> for gstd::sync::rwlock::RwLock<T>

Source§

impl<T> From<T> for once_cell::unsync::OnceCell<T>

Source§

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

Source§

impl<T> From<T> for UnsafePinned<T>

1.6.0 · Source§

impl<T> From<T> for Rc<T>

1.6.0 · Source§

impl<T> From<T> for sails_rs::prelude::Box<T>

1.0.0 (const: unstable) · Source§

impl<T> From<T> for T

Source§

impl<T, A> From<&[T]> for allocator_api2::stable::boxed::Box<[T], A>
where T: Copy, A: Allocator + Default,

1.5.0 · Source§

impl<T, A> From<BinaryHeap<T, A>> for sails_rs::prelude::Vec<T, A>
where A: Allocator,

1.10.0 · Source§

impl<T, A> From<VecDeque<T, A>> for sails_rs::prelude::Vec<T, A>
where A: Allocator,

Source§

impl<T, A> From<Box<[T], A>> for allocator_api2::stable::vec::Vec<T, A>
where A: Allocator,

Source§

impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>
where A: Allocator + 'static, T: ?Sized,

Source§

impl<T, A> From<Vec<T, A>> for allocator_api2::stable::boxed::Box<[T], A>
where A: Allocator,

1.18.0 · Source§

impl<T, A> From<Box<[T], A>> for sails_rs::prelude::Vec<T, A>
where A: Allocator,

1.21.0 · Source§

impl<T, A> From<Box<T, A>> for Arc<T, A>
where A: Allocator, T: ?Sized,

1.33.0 · Source§

impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>
where A: Allocator + 'static, T: ?Sized,

1.21.0 · Source§

impl<T, A> From<Box<T, A>> for Rc<T, A>
where A: Allocator, T: ?Sized,

1.5.0 · Source§

impl<T, A> From<Vec<T, A>> for BinaryHeap<T, A>
where T: Ord, A: Allocator,

1.10.0 · Source§

impl<T, A> From<Vec<T, A>> for VecDeque<T, A>
where A: Allocator,

1.21.0 · Source§

impl<T, A> From<Vec<T, A>> for Arc<[T], A>
where A: Allocator + Clone,

1.21.0 · Source§

impl<T, A> From<Vec<T, A>> for Rc<[T], A>
where A: Allocator,

1.20.0 · Source§

impl<T, A> From<Vec<T, A>> for sails_rs::prelude::Box<[T], A>
where A: Allocator,

Source§

impl<T, A, const N: usize> From<[T; N]> for sails_rs::prelude::collections::HashSet<T, RandomState, A>
where T: Eq + Hash, A: Default + Allocator,

Source§

impl<T, A, const N: usize> From<[T; N]> for hashbrown::set::HashSet<T, BuildHasherDefault<AHasher>, A>
where T: Eq + Hash, A: Default + Allocator,

Source§

impl<T, A, const N: usize> From<Box<[T; N], A>> for allocator_api2::stable::vec::Vec<T, A>
where A: Allocator,

Source§

impl<T, R> From<T> for SpinMutex<T, R>

Source§

impl<T, R> From<T> for spin::mutex::Mutex<T, R>

Source§

impl<T, S, A> From<HashMap<T, (), S, A>> for sails_rs::prelude::collections::HashSet<T, S, A>
where A: Allocator,

Source§

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

Source§

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

Create an ArrayVec from an array.

use arrayvec::ArrayVec;

let mut array = ArrayVec::from([1, 2, 3]);
assert_eq!(array.len(), 3);
assert_eq!(array.capacity(), 3);
1.74.0 · Source§

impl<T, const N: usize> From<&[T; N]> for sails_rs::prelude::Vec<T>
where T: Clone,

1.74.0 · Source§

impl<T, const N: usize> From<&mut [T; N]> for sails_rs::prelude::Vec<T>
where T: Clone,

1.56.0 · Source§

impl<T, const N: usize> From<[T; N]> for BTreeSet<T>
where T: Ord,

1.56.0 · Source§

impl<T, const N: usize> From<[T; N]> for BinaryHeap<T>
where T: Ord,

1.56.0 · Source§

impl<T, const N: usize> From<[T; N]> for LinkedList<T>

1.56.0 · Source§

impl<T, const N: usize> From<[T; N]> for VecDeque<T>

1.74.0 · Source§

impl<T, const N: usize> From<[T; N]> for Arc<[T]>

Source§

impl<T, const N: usize> From<[T; N]> for Simd<T, N>

1.56.0 · Source§

impl<T, const N: usize> From<[T; N]> for std::collections::hash::set::HashSet<T>
where T: Eq + Hash,

Source§

impl<T, const N: usize> From<[T; N]> for allocator_api2::stable::boxed::Box<[T]>

Source§

impl<T, const N: usize> From<[T; N]> for allocator_api2::stable::vec::Vec<T>

1.74.0 · Source§

impl<T, const N: usize> From<[T; N]> for Rc<[T]>

1.45.0 · Source§

impl<T, const N: usize> From<[T; N]> for sails_rs::prelude::Box<[T]>

1.44.0 · Source§

impl<T, const N: usize> From<[T; N]> for sails_rs::prelude::Vec<T>

Source§

impl<T, const N: usize> From<Mask<T, N>> for [bool; N]

Source§

impl<T, const N: usize> From<Simd<T, N>> for [T; N]

Source§

impl<T, const N: usize> From<Mask<T, N>> for Simd<T, N>

Source§

impl<T, const N: usize> From<[bool; N]> for Mask<T, N>

1.51.0 · Source§

impl<W> From<Arc<W>> for RawWaker
where W: Wake + Send + Sync + 'static,

1.51.0 · Source§

impl<W> From<Arc<W>> for Waker
where W: Wake + Send + Sync + 'static,

1.0.0 · Source§

impl<W> From<IntoInnerError<W>> for std::io::error::Error

Source§

impl<W> From<Rc<W>> for LocalWaker
where W: LocalWake + 'static,

Source§

impl<W> From<Rc<W>> for RawWaker
where W: LocalWake + 'static,

Source§

impl<W> From<x4<W>> for vec512_storage
where W: Copy, vec128_storage: From<W>,

Source§

impl<W, G> From<x2<W, G>> for vec256_storage
where W: Copy, vec128_storage: From<W>,

Source§

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

Source§

impl<X> From<RangeInclusive<X>> for Uniform<X>
where X: SampleUniform,

Source§

impl<const N: usize> From<Mask<i8, N>> for Mask<i16, N>

Source§

impl<const N: usize> From<Mask<i8, N>> for Mask<i32, N>

Source§

impl<const N: usize> From<Mask<i8, N>> for Mask<i64, N>

Source§

impl<const N: usize> From<Mask<i8, N>> for Mask<isize, N>

Source§

impl<const N: usize> From<Mask<i16, N>> for Mask<i8, N>

Source§

impl<const N: usize> From<Mask<i16, N>> for Mask<i32, N>

Source§

impl<const N: usize> From<Mask<i16, N>> for Mask<i64, N>

Source§

impl<const N: usize> From<Mask<i16, N>> for Mask<isize, N>

Source§

impl<const N: usize> From<Mask<i32, N>> for Mask<i8, N>

Source§

impl<const N: usize> From<Mask<i32, N>> for Mask<i16, N>

Source§

impl<const N: usize> From<Mask<i32, N>> for Mask<i64, N>

Source§

impl<const N: usize> From<Mask<i32, N>> for Mask<isize, N>

Source§

impl<const N: usize> From<Mask<i64, N>> for Mask<i8, N>

Source§

impl<const N: usize> From<Mask<i64, N>> for Mask<i16, N>

Source§

impl<const N: usize> From<Mask<i64, N>> for Mask<i32, N>

Source§

impl<const N: usize> From<Mask<i64, N>> for Mask<isize, N>

Source§

impl<const N: usize> From<Mask<isize, N>> for Mask<i8, N>

Source§

impl<const N: usize> From<Mask<isize, N>> for Mask<i16, N>

Source§

impl<const N: usize> From<Mask<isize, N>> for Mask<i32, N>

Source§

impl<const N: usize> From<Mask<isize, N>> for Mask<i64, N>