Skip to main content

IP

Struct IP 

Source
pub struct IP;

Trait Implementations§

Source§

impl Clone for IP

Source§

fn clone(&self) -> IP

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IP

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IP

Source§

fn default() -> IP

Returns the “default value” for a type. Read more
Source§

impl SIMDSchema<f16, f16> for IP

Source§

type SIMDWidth = Const<1>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = Emulated<f32, 1>

The type used to represent partial accumulated values.
Source§

type Left = Emulated<f16, 1>

The type used for the left-hand side.
Source§

type Right = Emulated<f16, 1>

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy1x1

The implementation of the main loop.
Source§

fn init(&self, arch: Scalar) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<f16, f16, V3> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<8>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V3 as Architecture>::f32x8

The type used to represent partial accumulated values.
Source§

type Left = <V3 as Architecture>::f16x8

The type used for the left-hand side.
Source§

type Right = <V3 as Architecture>::f16x8

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy2x4

The implementation of the main loop.
Source§

fn init(&self, arch: V3) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<f16, f16, V4> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<8>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V4 as Architecture>::f32x8

The type used to represent partial accumulated values.
Source§

type Left = <V4 as Architecture>::f16x8

The type used for the left-hand side.
Source§

type Right = <V4 as Architecture>::f16x8

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V4) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl<A> SIMDSchema<f32, f16, A> for IP
where A: Architecture,

Source§

type SIMDWidth = Const<8>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <A as Architecture>::f32x8

The type used to represent partial accumulated values.
Source§

type Left = <A as Architecture>::f32x8

The type used for the left-hand side.
Source§

type Right = <A as Architecture>::f16x8

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x2

The implementation of the main loop.
Source§

fn init(&self, arch: A) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<f32, f32> for IP

Source§

type SIMDWidth = Const<4>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = Emulated<f32, 4>

The type used to represent partial accumulated values.
Source§

type Left = Emulated<f32, 4>

The type used for the left-hand side.
Source§

type Right = Emulated<f32, 4>

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy2x1

The implementation of the main loop.
Source§

fn init(&self, arch: Scalar) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

unsafe fn epilogue( &self, arch: Scalar, x: *const f32, y: *const f32, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<f32, f32, V3> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<8>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V3 as Architecture>::f32x8

The type used to represent partial accumulated values.
Source§

type Left = <V3 as Architecture>::f32x8

The type used for the left-hand side.
Source§

type Right = <V3 as Architecture>::f32x8

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V3) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<f32, f32, V4> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<8>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V4 as Architecture>::f32x8

The type used to represent partial accumulated values.
Source§

type Left = <V4 as Architecture>::f32x8

The type used for the left-hand side.
Source§

type Right = <V4 as Architecture>::f32x8

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V4) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<i8, i8> for IP

Source§

type SIMDWidth = Const<1>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = Emulated<i32, 1>

The type used to represent partial accumulated values.
Source§

type Left = Emulated<i8, 1>

The type used for the left-hand side.
Source§

type Right = Emulated<i8, 1>

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy1x1

The implementation of the main loop.
Source§

fn init(&self, arch: Scalar) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

unsafe fn epilogue( &self, _arch: Scalar, _x: *const i8, _y: *const i8, _len: usize, _acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<i8, i8, V3> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<16>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V3 as Architecture>::i32x8

The type used to represent partial accumulated values.
Source§

type Left = <V3 as Architecture>::i8x16

The type used for the left-hand side.
Source§

type Right = <V3 as Architecture>::i8x16

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V3) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<i8, i8, V4> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<32>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V4 as Architecture>::i32x16

The type used to represent partial accumulated values.
Source§

type Left = <V4 as Architecture>::i8x32

The type used for the left-hand side.
Source§

type Right = <V4 as Architecture>::i8x32

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V4) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<u8, u8> for IP

Source§

type SIMDWidth = Const<1>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = Emulated<i32, 1>

The type used to represent partial accumulated values.
Source§

type Left = Emulated<u8, 1>

The type used for the left-hand side.
Source§

type Right = Emulated<u8, 1>

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy1x1

The implementation of the main loop.
Source§

fn init(&self, arch: Scalar) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

unsafe fn epilogue( &self, _arch: Scalar, _x: *const u8, _y: *const u8, _len: usize, _acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<u8, u8, V3> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<16>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V3 as Architecture>::i32x8

The type used to represent partial accumulated values.
Source§

type Left = <V3 as Architecture>::u8x16

The type used for the left-hand side.
Source§

type Right = <V3 as Architecture>::u8x16

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V3) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl SIMDSchema<u8, u8, V4> for IP

Available on x86-64 only.
Source§

type SIMDWidth = Const<32>

The desired SIMD read width. Reads from the input slice will be use this stride when accessing memory.
Source§

type Accumulator = <V4 as Architecture>::i32x16

The type used to represent partial accumulated values.
Source§

type Left = <V4 as Architecture>::u8x32

The type used for the left-hand side.
Source§

type Right = <V4 as Architecture>::u8x32

The type used for the right-hand side.
Source§

type Return = f32

The final return type. This is often f32 for complete distance functions, but need not always be.
Source§

type Main = Strategy4x1

The implementation of the main loop.
Source§

fn init(&self, arch: V4) -> Self::Accumulator

Initialize an empty (identity) accumulator.
Source§

fn accumulate( &self, x: Self::Left, y: Self::Right, acc: Self::Accumulator, ) -> Self::Accumulator

Perform an accumulation.
Source§

fn reduce(&self, x: Self::Accumulator) -> Self::Return

Perform a reduction on the accumulator to yield the final result. Read more
Source§

fn combine( &self, x: Self::Accumulator, y: Self::Accumulator, ) -> Self::Accumulator

Combine two independent accumulators (allows for unrolling).
Source§

unsafe fn epilogue( &self, arch: A, x: *const T, y: *const U, len: usize, acc: Self::Accumulator, ) -> Self::Accumulator

A supplied trait for dealing with non-full-width epilogues. Often, masked based loading will do the right thing, but for architectures like AVX2 that have limited support for masking 8 and 16-bit operations, using a scalar fallback may just be better. Read more
Source§

fn get_simd_width() -> usize

!! Do not extend this function !! Read more
Source§

fn get_main_bocksize() -> usize

!! Do not extend this function !! Read more
Source§

impl Copy for IP

Auto Trait Implementations§

§

impl Freeze for IP

§

impl RefUnwindSafe for IP

§

impl Send for IP

§

impl Sync for IP

§

impl Unpin for IP

§

impl UnwindSafe for IP

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.