wasmtime_environ::__core::prelude::rust_2024

Trait From

source
pub trait From<T>: Sized {
    // Required method
    fn from(value: T) -> Self;
}
๐Ÿ”ฌThis is a nightly-only experimental API. (prelude_2024)
Expand description

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

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

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

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

The From 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ยง

source

fn from(value: T) -> Self

๐Ÿ”ฌThis is a nightly-only experimental API. (prelude_2024)

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ยง

1.17.0 ยท sourceยง

impl From<&str> for Box<str>

1.0.0 ยท sourceยง

impl From<&str> for String

1.0.0 ยท sourceยง

impl From<&str> for Vec<u8>

1.21.0 ยท sourceยง

impl From<&str> for Rc<str>

1.21.0 ยท sourceยง

impl From<&str> for Arc<str>

1.35.0 ยท sourceยง

impl From<&String> for String

1.17.0 ยท sourceยง

impl From<&CStr> for Box<CStr>

1.7.0 ยท sourceยง

impl From<&CStr> for CString

1.24.0 ยท sourceยง

impl From<&CStr> for Rc<CStr>

1.24.0 ยท sourceยง

impl From<&CStr> for Arc<CStr>

sourceยง

impl From<&StreamResult> for Result<MZStatus, MZError>

1.17.0 ยท sourceยง

impl From<&OsStr> for Box<OsStr>

1.24.0 ยท sourceยง

impl From<&OsStr> for Rc<OsStr>

1.24.0 ยท sourceยง

impl From<&OsStr> for Arc<OsStr>

1.17.0 ยท sourceยง

impl From<&Path> for Box<Path>

1.24.0 ยท sourceยง

impl From<&Path> for Rc<Path>

1.24.0 ยท sourceยง

impl From<&Path> for Arc<Path>

sourceยง

impl From<&PrimitiveValType> for InterfaceType

1.44.0 ยท sourceยง

impl From<&mut str> for String

sourceยง

impl From<FlatType> for ValType

sourceยง

impl From<WasmError> for CompileError

sourceยง

impl From<WasmHeapBottomType> for WasmHeapType

sourceยง

impl From<WasmHeapTopType> for WasmHeapType

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.36.0 ยท sourceยง

impl From<Infallible> for TryFromSliceError

1.34.0 ยท sourceยง

impl From<Infallible> for TryFromIntError

1.45.0 ยท sourceยง

impl From<Cow<'_, str>> for Box<str>

1.45.0 ยท sourceยง

impl From<Cow<'_, CStr>> for Box<CStr>

1.45.0 ยท sourceยง

impl From<Cow<'_, OsStr>> for Box<OsStr>

1.45.0 ยท sourceยง

impl From<Cow<'_, Path>> for Box<Path>

sourceยง

impl From<TryReserveErrorKind> for TryReserveError

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.

1.68.0 ยท sourceยง

impl From<bool> for f32

1.68.0 ยท sourceยง

impl From<bool> for f64

1.28.0 ยท sourceยง

impl From<bool> for i8

1.28.0 ยท sourceยง

impl From<bool> for i16

1.28.0 ยท sourceยง

impl From<bool> for i32

1.28.0 ยท sourceยง

impl From<bool> for i64

1.28.0 ยท sourceยง

impl From<bool> for i128

1.28.0 ยท sourceยง

impl From<bool> for isize

1.28.0 ยท sourceยง

impl From<bool> for u8

1.28.0 ยท sourceยง

impl From<bool> for u16

1.28.0 ยท sourceยง

impl From<bool> for u32

1.28.0 ยท sourceยง

impl From<bool> for u64

1.28.0 ยท sourceยง

impl From<bool> for u128

1.28.0 ยท sourceยง

impl From<bool> for usize

1.24.0 ยท sourceยง

impl From<bool> for AtomicBool

1.13.0 ยท sourceยง

impl From<char> for u32

1.51.0 ยท sourceยง

impl From<char> for u64

1.51.0 ยท sourceยง

impl From<char> for u128

1.46.0 ยท sourceยง

impl From<char> for String

1.6.0 ยท sourceยง

impl From<f16> for f64

1.6.0 ยท sourceยง

impl From<f16> for f128

1.6.0 ยท sourceยง

impl From<f32> for f64

1.6.0 ยท sourceยง

impl From<f32> for f128

ยง

impl From<f32> for Ieee32

1.6.0 ยท sourceยง

impl From<f64> for f128

ยง

impl From<f64> for Ieee64

1.6.0 ยท sourceยง

impl From<i8> for f32

1.6.0 ยท sourceยง

impl From<i8> for f64

1.5.0 ยท sourceยง

impl From<i8> for i16

1.5.0 ยท sourceยง

impl From<i8> for i32

1.5.0 ยท sourceยง

impl From<i8> for i64

1.26.0 ยท sourceยง

impl From<i8> for i128

1.5.0 ยท sourceยง

impl From<i8> for isize

1.34.0 ยท sourceยง

impl From<i8> for AtomicI8

1.6.0 ยท sourceยง

impl From<i16> for f32

1.6.0 ยท sourceยง

impl From<i16> for f64

1.5.0 ยท sourceยง

impl From<i16> for i32

1.5.0 ยท sourceยง

impl From<i16> for i64

1.26.0 ยท sourceยง

impl From<i16> for i128

1.26.0 ยท sourceยง

impl From<i16> for isize

1.34.0 ยท sourceยง

impl From<i16> for AtomicI16

1.6.0 ยท sourceยง

impl From<i32> for f64

1.5.0 ยท sourceยง

impl From<i32> for i64

1.26.0 ยท sourceยง

impl From<i32> for i128

1.34.0 ยท sourceยง

impl From<i32> for AtomicI32

1.26.0 ยท sourceยง

impl From<i64> for i128

1.34.0 ยท sourceยง

impl From<i64> for AtomicI64

1.23.0 ยท sourceยง

impl From<isize> for AtomicIsize

1.34.0 ยท sourceยง

impl From<!> for Infallible

sourceยง

impl From<!> for TryFromIntError

1.13.0 ยท 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 ยท sourceยง

impl From<u8> for f32

1.6.0 ยท sourceยง

impl From<u8> for f64

1.5.0 ยท sourceยง

impl From<u8> for i16

1.5.0 ยท sourceยง

impl From<u8> for i32

1.5.0 ยท sourceยง

impl From<u8> for i64

1.26.0 ยท sourceยง

impl From<u8> for i128

1.26.0 ยท sourceยง

impl From<u8> for isize

1.5.0 ยท sourceยง

impl From<u8> for u16

1.5.0 ยท sourceยง

impl From<u8> for u32

1.5.0 ยท sourceยง

impl From<u8> for u64

1.26.0 ยท sourceยง

impl From<u8> for u128

1.5.0 ยท sourceยง

impl From<u8> for usize

1.34.0 ยท sourceยง

impl From<u8> for AtomicU8

1.61.0 ยท sourceยง

impl From<u8> for ExitCode

1.6.0 ยท sourceยง

impl From<u16> for f32

1.6.0 ยท sourceยง

impl From<u16> for f64

1.5.0 ยท sourceยง

impl From<u16> for i32

1.5.0 ยท sourceยง

impl From<u16> for i64

1.26.0 ยท sourceยง

impl From<u16> for i128

1.5.0 ยท sourceยง

impl From<u16> for u32

1.5.0 ยท sourceยง

impl From<u16> for u64

1.26.0 ยท sourceยง

impl From<u16> for u128

1.26.0 ยท sourceยง

impl From<u16> for usize

1.34.0 ยท sourceยง

impl From<u16> for AtomicU16

1.6.0 ยท sourceยง

impl From<u32> for f64

1.5.0 ยท sourceยง

impl From<u32> for i64

1.26.0 ยท sourceยง

impl From<u32> for i128

1.5.0 ยท sourceยง

impl From<u32> for u64

1.26.0 ยท sourceยง

impl From<u32> for u128

1.1.0 ยท sourceยง

impl From<u32> for Ipv4Addr

1.34.0 ยท sourceยง

impl From<u32> for AtomicU32

1.26.0 ยท sourceยง

impl From<u64> for i128

1.26.0 ยท sourceยง

impl From<u64> for u128

1.34.0 ยท sourceยง

impl From<u64> for AtomicU64

1.26.0 ยท sourceยง

impl From<u128> for Ipv6Addr

1.23.0 ยท sourceยง

impl From<usize> for AtomicUsize

1.18.0 ยท sourceยง

impl From<Box<str>> for String

1.18.0 ยท sourceยง

impl From<Box<CStr>> for CString

1.18.0 ยท sourceยง

impl From<Box<OsStr>> for OsString

1.18.0 ยท sourceยง

impl From<Box<Path>> for PathBuf

1.20.0 ยท sourceยง

impl From<String> for Box<str>

1.14.0 ยท sourceยง

impl From<String> for Vec<u8>

1.21.0 ยท sourceยง

impl From<String> for Rc<str>

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.43.0 ยท sourceยง

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

sourceยง

impl From<FuncIndex> for EntityIndex

sourceยง

impl From<GcArrayLayout> for GcLayout

sourceยง

impl From<GcStructLayout> for GcLayout

sourceยง

impl From<GlobalIndex> for EntityIndex

sourceยง

impl From<MemoryIndex> for EntityIndex

sourceยง

impl From<ModuleInternedTypeIndex> for EngineOrModuleTypeIndex

sourceยง

impl From<RecGroupRelativeTypeIndex> for EngineOrModuleTypeIndex

sourceยง

impl From<TableIndex> for EntityIndex

sourceยง

impl From<VMSharedTypeIndex> for EngineOrModuleTypeIndex

sourceยง

impl From<LayoutError> for TryReserveErrorKind

ยง

impl From<LayoutError> for CollectionAllocErr

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, 2>

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, 2>

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, 4>

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, 4>

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, 8>

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, 8>

1.16.0 ยท sourceยง

impl From<Ipv4Addr> for IpAddr

1.1.0 ยท sourceยง

impl From<Ipv4Addr> for u32

1.16.0 ยท sourceยง

impl From<Ipv6Addr> for IpAddr

1.26.0 ยท sourceยง

impl From<Ipv6Addr> for u128

1.16.0 ยท sourceยง

impl From<SocketAddrV4> for SocketAddr

1.16.0 ยท sourceยง

impl From<SocketAddrV6> for SocketAddr

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

1.41.0 ยท sourceยง

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

sourceยง

impl From<TryFromIntError> for WasmError

sourceยง

impl From<Alignment> for usize

sourceยง

impl From<Alignment> for NonZero<usize>

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, 2>> for __m128i

sourceยง

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

sourceยง

impl From<Simd<isize, 8>> 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, 2>> for __m128i

sourceยง

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

sourceยง

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

1.78.0 ยท sourceยง

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

1.20.0 ยท sourceยง

impl From<CString> for Box<CStr>

1.7.0 ยท sourceยง

impl From<CString> for Vec<u8>

1.24.0 ยท sourceยง

impl From<CString> for Rc<CStr>

1.24.0 ยท sourceยง

impl From<CString> for Arc<CStr>

1.0.0 ยท sourceยง

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

1.62.0 ยท sourceยง

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

1.62.0 ยท sourceยง

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

sourceยง

impl From<StreamResult> for Result<MZStatus, MZError>

1.20.0 ยท sourceยง

impl From<OsString> for Box<OsStr>

1.24.0 ยท sourceยง

impl From<OsString> for Rc<OsStr>

1.24.0 ยท sourceยง

impl From<OsString> for Arc<OsStr>

1.0.0 ยท sourceยง

impl From<OsString> for PathBuf

1.63.0 ยท sourceยง

impl From<File> for OwnedFd

1.20.0 ยท sourceยง

impl From<File> for Stdio

ยง

impl From<Error> for Error

ยง

impl From<Error> for Error

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

sourceยง

impl From<OwnedFd> for PipeReader

sourceยง

impl From<OwnedFd> for PipeWriter

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.20.0 ยท sourceยง

impl From<PathBuf> for Box<Path>

1.24.0 ยท sourceยง

impl From<PathBuf> for Rc<Path>

1.24.0 ยท sourceยง

impl From<PathBuf> for Arc<Path>

1.14.0 ยท sourceยง

impl From<PathBuf> for OsString

sourceยง

impl From<PipeReader> for OwnedFd

sourceยง

impl From<PipeReader> for Stdio

sourceยง

impl From<PipeWriter> for OwnedFd

sourceยง

impl From<PipeWriter> for Stdio

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<Error> for Box<dyn Error + Send>

sourceยง

impl From<Error> for Box<dyn Error + Sync + Send>

sourceยง

impl From<Error> for Box<dyn Error>

ยง

impl From<AbstractHeapType> for AbstractHeapType

ยง

impl From<AliasableResourceId> for AnyTypeId

ยง

impl From<AliasableResourceId> for ComponentAnyTypeId

sourceยง

impl From<BinaryReaderError> for WasmError

ยง

impl From<CanonicalOption> for CanonicalOption

ยง

impl From<Catch> for Catch

ยง

impl From<ComponentAnyTypeId> for AnyTypeId

ยง

impl From<ComponentCoreModuleTypeId> for AnyTypeId

ยง

impl From<ComponentCoreModuleTypeId> for ComponentCoreTypeId

ยง

impl From<ComponentCoreTypeId> for AnyTypeId

ยง

impl From<ComponentDefinedTypeId> for AnyTypeId

ยง

impl From<ComponentDefinedTypeId> for ComponentAnyTypeId

ยง

impl From<ComponentExternalKind> for ComponentExportKind

ยง

impl From<ComponentFuncTypeId> for AnyTypeId

ยง

impl From<ComponentFuncTypeId> for ComponentAnyTypeId

ยง

impl From<ComponentInstanceTypeId> for AnyTypeId

ยง

impl From<ComponentInstanceTypeId> for ComponentAnyTypeId

ยง

impl From<ComponentName> for String

ยง

impl From<ComponentOuterAliasKind> for ComponentOuterAliasKind

ยง

impl From<ComponentSectionId> for u8

ยง

impl From<ComponentTypeId> for AnyTypeId

ยง

impl From<ComponentTypeId> for ComponentAnyTypeId

ยง

impl From<ComponentTypeRef> for ComponentTypeRef

ยง

impl From<ComponentValType> for ComponentValType

ยง

impl From<CoreTypeId> for AnyTypeId

ยง

impl From<CoreTypeId> for ComponentCoreTypeId

ยง

impl From<DiscriminantSize> for u32

ยง

impl From<DiscriminantSize> for usize

ยง

impl From<Error> for ConvertError

ยง

impl From<ExternalKind> for ExportKind

ยง

impl From<GlobalType> for EntityType

ยง

impl From<Handle> for Handle

ยง

impl From<Ieee32> for f32

ยง

impl From<Ieee64> for f64

ยง

impl From<KebabString> for String

ยง

impl From<MemArg> for MemArg

sourceยง

impl From<MemoryType> for Memory

ยง

impl From<MemoryType> for EntityType

ยง

impl From<MemoryType> for MemoryType

ยง

impl From<Ordering> for Ordering

ยง

impl From<PrimitiveValType> for ComponentValType

ยง

impl From<PrimitiveValType> for PrimitiveValType

ยง

impl From<RefType> for ValType

ยง

impl From<RefType> for ValType

ยง

impl From<SectionId> for u8

ยง

impl From<TableType> for EntityType

ยง

impl From<TagKind> for TagKind

sourceยง

impl From<TagType> for Tag

ยง

impl From<TagType> for EntityType

ยง

impl From<TagType> for TagType

ยง

impl From<TypeBounds> for TypeBounds

ยง

impl From<V128> for i128

ยง

impl From<V128> for u128

ยง

impl From<WasmFeatures> for WasmFeaturesInflated

ยง

impl From<WasmFeaturesInflated> for WasmFeatures

1.17.0 ยท sourceยง

impl From<[u8; 4]> for IpAddr

1.9.0 ยท sourceยง

impl From<[u8; 4]> for Ipv4Addr

1.17.0 ยท sourceยง

impl From<[u8; 16]> for IpAddr

1.9.0 ยท sourceยง

impl From<[u8; 16]> for Ipv6Addr

1.17.0 ยท sourceยง

impl From<[u16; 8]> for IpAddr

1.16.0 ยท sourceยง

impl From<[u16; 8]> for Ipv6Addr

1.0.0 ยท sourceยง

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

1.28.0 ยท sourceยง

impl<'a> From<&'a String> 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>

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>

1.6.0 ยท sourceยง

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

1.0.0 ยท sourceยง

impl<'a> From<&str> for Box<dyn Error + Sync + Send + '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.0.0 ยท sourceยง

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

1.6.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

1.28.0 ยท sourceยง

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

1.28.0 ยท sourceยง

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

1.6.0 ยท sourceยง

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

ยง

impl<'a> From<CustomSectionReader<'a>> for CustomSection<'a>

1.22.0 ยท sourceยง

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

1.22.0 ยท sourceยง

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

ยง

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

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.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.0.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

1.30.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

1.28.0 ยท sourceยง

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

1.30.0 ยท sourceยง

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

1.14.0 ยท sourceยง

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

ยง

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

1.8.0 ยท sourceยง

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

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.

1.19.0 ยท sourceยง

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

ยง

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

ยง

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

ยง

impl<E> From<BinaryReaderError> for Error<E>

sourceยง

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

sourceยง

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

ยง

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

ยง

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

1.17.0 ยท sourceยง

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

ยง

impl<K, V> From<&Slice<K, V>> for Box<Slice<K, V>>
where K: Copy, V: Copy,

ยง

impl<K, V> From<Vec<V>> for PrimaryMap<K, V>
where K: EntityRef,

ยง

impl<K, V, A, const N: usize> From<[(K, V); N]> for 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,

ยง

impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V>
where K: Hash + Eq,

sourceยง

impl<P: PtrSize> From<VMOffsetsFields<P>> for VMOffsets<P>

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

1.17.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

1.21.0 ยท sourceยง

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

1.21.0 ยท sourceยง

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

ยง

impl<T> From<&Slice<T>> for Box<Slice<T>>
where T: Copy,

1.19.0 ยท sourceยง

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

ยง

impl<T> From<Option<T>> for PackedOption<T>
where T: ReservedValue,

1.45.0 ยท sourceยง

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

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 ยท 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 ยท sourceยง

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

1.25.0 ยท sourceยง

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

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 ยท 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<CoreExport<T>> for wasmtime_environ::component::dfg::CoreDef
where EntityIndex: From<T>,

sourceยง

impl<T> From<CoreExport<T>> for wasmtime_environ::component::CoreDef
where EntityIndex: From<T>,

1.31.0 ยท sourceยง

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

sourceยง

impl<T> From<Range<T>> for wasmtime_environ::__core::range::Range<T>

sourceยง

impl<T> From<RangeFrom<T>> for wasmtime_environ::__core::range::RangeFrom<T>

sourceยง

impl<T> From<RangeInclusive<T>> for wasmtime_environ::__core::range::RangeInclusive<T>

sourceยง

impl<T> From<Range<T>> for wasmtime_environ::__core::range::legacy::Range<T>

sourceยง

impl<T> From<RangeFrom<T>> for wasmtime_environ::__core::range::legacy::RangeFrom<T>

sourceยง

impl<T> From<RangeInclusive<T>> for wasmtime_environ::__core::range::legacy::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>

ยง

impl<T> From<DebugInfoOffset<T>> for UnitSectionOffset<T>

ยง

impl<T> From<DebugTypesOffset<T>> for UnitSectionOffset<T>

1.12.0 ยท sourceยง

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

1.36.0 ยท sourceยง

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

ยง

impl<T> From<T> for PackedOption<T>
where T: ReservedValue,

1.6.0 ยท sourceยง

impl<T> From<T> for Box<T>

1.12.0 ยท sourceยง

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

1.70.0 ยท sourceยง

impl<T> From<T> for wasmtime_environ::__core::cell::OnceCell<T>

1.12.0 ยท sourceยง

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

sourceยง

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

1.12.0 ยท sourceยง

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

sourceยง

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

1.6.0 ยท sourceยง

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

1.6.0 ยท sourceยง

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

1.24.0 ยท sourceยง

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

1.70.0 ยท sourceยง

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

sourceยง

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

1.24.0 ยท sourceยง

impl<T> From<T> for RwLock<T>

ยง

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

ยง

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

ยง

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

ยง

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

ยง

impl<T> From<T> for ScalarBitSet<T>
where T: ScalarBitSetStorage,

1.0.0 ยท sourceยง

impl<T> From<T> for T

1.18.0 ยท sourceยง

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

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.21.0 ยท sourceยง

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

1.20.0 ยท sourceยง

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

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 Rc<[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.5.0 ยท sourceยง

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

1.10.0 ยท sourceยง

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

ยง

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

ยง

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

1.74.0 ยท sourceยง

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

1.74.0 ยท sourceยง

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

1.45.0 ยท sourceยง

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

1.44.0 ยท sourceยง

impl<T, const N: usize> From<[T; N]> for Vec<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 BinaryHeap<T>
where T: Ord,

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 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 Rc<[T]>

1.74.0 ยท sourceยง

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

1.56.0 ยท sourceยง

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

ยง

impl<T, const N: usize> From<[T; N]> for IndexSet<T>
where T: Eq + Hash,

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>

sourceยง

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

sourceยง

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

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

ยง

impl<W> From<W> for DebugAbbrev<W>
where W: Writer,

ยง

impl<W> From<W> for DebugFrame<W>
where W: Writer,

ยง

impl<W> From<W> for DebugInfo<W>
where W: Writer,

ยง

impl<W> From<W> for DebugLine<W>
where W: Writer,

ยง

impl<W> From<W> for DebugLineStr<W>
where W: Writer,

ยง

impl<W> From<W> for DebugLoc<W>
where W: Writer,

ยง

impl<W> From<W> for DebugLocLists<W>
where W: Writer,

ยง

impl<W> From<W> for DebugRanges<W>
where W: Writer,

ยง

impl<W> From<W> for DebugRngLists<W>
where W: Writer,

ยง

impl<W> From<W> for DebugStr<W>
where W: Writer,

ยง

impl<W> From<W> for EhFrame<W>
where W: Writer,

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>