Struct Avx2

Source
pub struct Avx2 {
    _private: (),
}
Expand description

A token for AVX2 intrinsics on x86 and x86_64.

Fields§

§_private: ()

Implementations§

Source§

impl Avx2

Source

pub unsafe fn new_unchecked() -> Self

Create a SIMD token.

§Safety

The required CPU features must be available.

Source

pub fn _mm256_abs_epi32(self, a: __m256i) -> __m256i

Source

pub fn _mm256_abs_epi16(self, a: __m256i) -> __m256i

Source

pub fn _mm256_abs_epi8(self, a: __m256i) -> __m256i

Source

pub fn _mm256_add_epi64(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_add_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_add_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_add_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_adds_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_adds_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_adds_epu8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_adds_epu16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_alignr_epi8<const IMM8: i32>( self, a: __m256i, b: __m256i, ) -> __m256i

Source

pub fn _mm256_and_si256(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_andnot_si256(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_avg_epu16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_avg_epu8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm_blend_epi32<const IMM4: i32>(self, a: __m128i, b: __m128i) -> __m128i

Source

pub fn _mm256_blend_epi32<const IMM8: i32>( self, a: __m256i, b: __m256i, ) -> __m256i

Source

pub fn _mm256_blend_epi16<const IMM8: i32>( self, a: __m256i, b: __m256i, ) -> __m256i

Source

pub fn _mm256_blendv_epi8( self, a: __m256i, b: __m256i, mask: __m256i, ) -> __m256i

Source

pub fn _mm_broadcastb_epi8(self, a: __m128i) -> __m128i

Source

pub fn _mm256_broadcastb_epi8(self, a: __m128i) -> __m256i

Source

pub fn _mm_broadcastd_epi32(self, a: __m128i) -> __m128i

Source

pub fn _mm256_broadcastd_epi32(self, a: __m128i) -> __m256i

Source

pub fn _mm_broadcastq_epi64(self, a: __m128i) -> __m128i

Source

pub fn _mm256_broadcastq_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm_broadcastsd_pd(self, a: __m128d) -> __m128d

Source

pub fn _mm256_broadcastsd_pd(self, a: __m128d) -> __m256d

Source

pub fn _mm256_broadcastsi128_si256(self, a: __m128i) -> __m256i

Source

pub fn _mm_broadcastss_ps(self, a: __m128) -> __m128

Source

pub fn _mm256_broadcastss_ps(self, a: __m128) -> __m256

Source

pub fn _mm_broadcastw_epi16(self, a: __m128i) -> __m128i

Source

pub fn _mm256_broadcastw_epi16(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cmpeq_epi64(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpeq_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpeq_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpeq_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpgt_epi64(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpgt_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpgt_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cmpgt_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_cvtepi16_epi32(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepi16_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepi32_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepi8_epi16(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepi8_epi32(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepi8_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepu16_epi32(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepu16_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepu32_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepu8_epi16(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepu8_epi32(self, a: __m128i) -> __m256i

Source

pub fn _mm256_cvtepu8_epi64(self, a: __m128i) -> __m256i

Source

pub fn _mm256_extracti128_si256<const IMM1: i32>(self, a: __m256i) -> __m128i

Source

pub fn _mm256_hadd_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_hadd_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_hadds_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_hsub_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_hsub_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_hsubs_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub unsafe fn _mm_i32gather_epi32<const SCALE: i32>( self, slice: *const i32, offsets: __m128i, ) -> __m128i

Source

pub unsafe fn _mm_mask_i32gather_epi32<const SCALE: i32>( self, src: __m128i, slice: *const i32, offsets: __m128i, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm256_i32gather_epi32<const SCALE: i32>( self, slice: *const i32, offsets: __m256i, ) -> __m256i

Source

pub unsafe fn _mm256_mask_i32gather_epi32<const SCALE: i32>( self, src: __m256i, slice: *const i32, offsets: __m256i, mask: __m256i, ) -> __m256i

Source

pub unsafe fn _mm_i32gather_ps<const SCALE: i32>( self, slice: *const f32, offsets: __m128i, ) -> __m128

Source

pub unsafe fn _mm_mask_i32gather_ps<const SCALE: i32>( self, src: __m128, slice: *const f32, offsets: __m128i, mask: __m128, ) -> __m128

Source

pub unsafe fn _mm256_i32gather_ps<const SCALE: i32>( self, slice: *const f32, offsets: __m256i, ) -> __m256

Source

pub unsafe fn _mm256_mask_i32gather_ps<const SCALE: i32>( self, src: __m256, slice: *const f32, offsets: __m256i, mask: __m256, ) -> __m256

Source

pub unsafe fn _mm_i32gather_epi64<const SCALE: i32>( self, slice: *const i64, offsets: __m128i, ) -> __m128i

Source

pub unsafe fn _mm_mask_i32gather_epi64<const SCALE: i32>( self, src: __m128i, slice: *const i64, offsets: __m128i, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm256_i32gather_epi64<const SCALE: i32>( self, slice: *const i64, offsets: __m128i, ) -> __m256i

Source

pub unsafe fn _mm256_mask_i32gather_epi64<const SCALE: i32>( self, src: __m256i, slice: *const i64, offsets: __m128i, mask: __m256i, ) -> __m256i

Source

pub unsafe fn _mm_i32gather_pd<const SCALE: i32>( self, slice: *const f64, offsets: __m128i, ) -> __m128d

Source

pub unsafe fn _mm_mask_i32gather_pd<const SCALE: i32>( self, src: __m128d, slice: *const f64, offsets: __m128i, mask: __m128d, ) -> __m128d

Source

pub unsafe fn _mm256_i32gather_pd<const SCALE: i32>( self, slice: *const f64, offsets: __m128i, ) -> __m256d

Source

pub unsafe fn _mm256_mask_i32gather_pd<const SCALE: i32>( self, src: __m256d, slice: *const f64, offsets: __m128i, mask: __m256d, ) -> __m256d

Source

pub unsafe fn _mm_i64gather_epi32<const SCALE: i32>( self, slice: *const i32, offsets: __m128i, ) -> __m128i

Source

pub unsafe fn _mm_mask_i64gather_epi32<const SCALE: i32>( self, src: __m128i, slice: *const i32, offsets: __m128i, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm256_i64gather_epi32<const SCALE: i32>( self, slice: *const i32, offsets: __m256i, ) -> __m128i

Source

pub unsafe fn _mm256_mask_i64gather_epi32<const SCALE: i32>( self, src: __m128i, slice: *const i32, offsets: __m256i, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm_i64gather_ps<const SCALE: i32>( self, slice: *const f32, offsets: __m128i, ) -> __m128

Source

pub unsafe fn _mm_mask_i64gather_ps<const SCALE: i32>( self, src: __m128, slice: *const f32, offsets: __m128i, mask: __m128, ) -> __m128

Source

pub unsafe fn _mm256_i64gather_ps<const SCALE: i32>( self, slice: *const f32, offsets: __m256i, ) -> __m128

Source

pub unsafe fn _mm256_mask_i64gather_ps<const SCALE: i32>( self, src: __m128, slice: *const f32, offsets: __m256i, mask: __m128, ) -> __m128

Source

pub unsafe fn _mm_i64gather_epi64<const SCALE: i32>( self, slice: *const i64, offsets: __m128i, ) -> __m128i

Source

pub unsafe fn _mm_mask_i64gather_epi64<const SCALE: i32>( self, src: __m128i, slice: *const i64, offsets: __m128i, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm256_i64gather_epi64<const SCALE: i32>( self, slice: *const i64, offsets: __m256i, ) -> __m256i

Source

pub unsafe fn _mm256_mask_i64gather_epi64<const SCALE: i32>( self, src: __m256i, slice: *const i64, offsets: __m256i, mask: __m256i, ) -> __m256i

Source

pub unsafe fn _mm_i64gather_pd<const SCALE: i32>( self, slice: *const f64, offsets: __m128i, ) -> __m128d

Source

pub unsafe fn _mm_mask_i64gather_pd<const SCALE: i32>( self, src: __m128d, slice: *const f64, offsets: __m128i, mask: __m128d, ) -> __m128d

Source

pub unsafe fn _mm256_i64gather_pd<const SCALE: i32>( self, slice: *const f64, offsets: __m256i, ) -> __m256d

Source

pub unsafe fn _mm256_mask_i64gather_pd<const SCALE: i32>( self, src: __m256d, slice: *const f64, offsets: __m256i, mask: __m256d, ) -> __m256d

Source

pub fn _mm256_inserti128_si256<const IMM1: i32>( self, a: __m256i, b: __m128i, ) -> __m256i

Source

pub fn _mm256_madd_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_maddubs_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub unsafe fn _mm_maskload_epi32( self, mem_addr: *const i32, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm256_maskload_epi32( self, mem_addr: *const i32, mask: __m256i, ) -> __m256i

Source

pub unsafe fn _mm_maskload_epi64( self, mem_addr: *const i64, mask: __m128i, ) -> __m128i

Source

pub unsafe fn _mm256_maskload_epi64( self, mem_addr: *const i64, mask: __m256i, ) -> __m256i

Source

pub unsafe fn _mm_maskstore_epi32( self, mem_addr: *mut i32, mask: __m128i, a: __m128i, )

Source

pub unsafe fn _mm256_maskstore_epi32( self, mem_addr: *mut i32, mask: __m256i, a: __m256i, )

Source

pub unsafe fn _mm_maskstore_epi64( self, mem_addr: *mut i64, mask: __m128i, a: __m128i, )

Source

pub unsafe fn _mm256_maskstore_epi64( self, mem_addr: *mut i64, mask: __m256i, a: __m256i, )

Source

pub fn _mm256_max_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_max_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_max_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_max_epu16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_max_epu32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_max_epu8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_min_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_min_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_min_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_min_epu16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_min_epu32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_min_epu8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_movemask_epi8(self, a: __m256i) -> i32

Source

pub fn _mm256_mpsadbw_epu8<const IMM8: i32>( self, a: __m256i, b: __m256i, ) -> __m256i

Source

pub fn _mm256_mul_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_mul_epu32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_mulhi_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_mulhi_epu16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_mullo_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_mullo_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_mulhrs_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_or_si256(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_packs_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_packs_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_packus_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_packus_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_permutevar8x32_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_permute4x64_epi64<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_permute2x128_si256<const IMM8: i32>( self, a: __m256i, b: __m256i, ) -> __m256i

Source

pub fn _mm256_permute4x64_pd<const IMM8: i32>(self, a: __m256d) -> __m256d

Source

pub fn _mm256_permutevar8x32_ps(self, a: __m256, idx: __m256i) -> __m256

Source

pub fn _mm256_sad_epu8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_shuffle_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_shuffle_epi32<const MASK: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_shufflehi_epi16<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_shufflelo_epi16<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_sign_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_sign_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_sign_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_sll_epi16(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_sll_epi32(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_sll_epi64(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_slli_epi16<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_slli_epi32<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_slli_epi64<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_slli_si256<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_bslli_epi128<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm_sllv_epi32(self, a: __m128i, count: __m128i) -> __m128i

Source

pub fn _mm256_sllv_epi32(self, a: __m256i, count: __m256i) -> __m256i

Source

pub fn _mm_sllv_epi64(self, a: __m128i, count: __m128i) -> __m128i

Source

pub fn _mm256_sllv_epi64(self, a: __m256i, count: __m256i) -> __m256i

Source

pub fn _mm256_sra_epi16(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_sra_epi32(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_srai_epi16<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_srai_epi32<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm_srav_epi32(self, a: __m128i, count: __m128i) -> __m128i

Source

pub fn _mm256_srav_epi32(self, a: __m256i, count: __m256i) -> __m256i

Source

pub fn _mm256_srli_si256<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_bsrli_epi128<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_srl_epi16(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_srl_epi32(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_srl_epi64(self, a: __m256i, count: __m128i) -> __m256i

Source

pub fn _mm256_srli_epi16<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_srli_epi32<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm256_srli_epi64<const IMM8: i32>(self, a: __m256i) -> __m256i

Source

pub fn _mm_srlv_epi32(self, a: __m128i, count: __m128i) -> __m128i

Source

pub fn _mm256_srlv_epi32(self, a: __m256i, count: __m256i) -> __m256i

Source

pub fn _mm_srlv_epi64(self, a: __m128i, count: __m128i) -> __m128i

Source

pub fn _mm256_srlv_epi64(self, a: __m256i, count: __m256i) -> __m256i

Source

pub fn _mm256_sub_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_sub_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_sub_epi64(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_sub_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_subs_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_subs_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_subs_epu16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_subs_epu8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpackhi_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpacklo_epi8(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpackhi_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpacklo_epi16(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpackhi_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpacklo_epi32(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpackhi_epi64(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_unpacklo_epi64(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_xor_si256(self, a: __m256i, b: __m256i) -> __m256i

Source

pub fn _mm256_extract_epi8<const INDEX: i32>(self, a: __m256i) -> i32

Source

pub fn _mm256_extract_epi16<const INDEX: i32>(self, a: __m256i) -> i32

Source

pub fn _mm256_extract_epi32<const INDEX: i32>(self, a: __m256i) -> i32

Source

pub fn _mm256_cvtsd_f64(self, a: __m256d) -> f64

Source

pub fn _mm256_cvtsi256_si32(self, a: __m256i) -> i32

Trait Implementations§

Source§

impl Clone for Avx2

Source§

fn clone(&self) -> Avx2

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 Avx2

Source§

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

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

impl Copy for Avx2

Auto Trait Implementations§

§

impl Freeze for Avx2

§

impl RefUnwindSafe for Avx2

§

impl Send for Avx2

§

impl Sync for Avx2

§

impl Unpin for Avx2

§

impl UnwindSafe for Avx2

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, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

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.