| 1 | use craterust-analyzer cargo float_eq 1.0.1 crate/::{ |
| 2 | AssertFloatEqrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#, AssertFloatEqAllrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#, DebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/DebugUlpsDiff#, FloatEqrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#, FloatEqAllrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#, FloatEqDebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/FloatEqDebugUlpsDiff#, |
| 3 | FloatEqUlpsTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqUlpsTol#, UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#, |
| 4 | }; |
| 5 | use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#; |
| 6 | |
| 7 | // Uses the same technique as MaybeUninit::uninit_array. |
| 8 | #[inline(always)] |
| 9 | fn uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().<T, const N: usize>() -> [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<T>; N] { |
| 10 | unsafe { MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::<[MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<T>; N]>::uninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]uninit().().assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().() } |
| 11 | } |
| 12 | |
| 13 | // Uses the same technique as MaybeUninit::array_assume_init. |
| 14 | #[inline(always)] |
| 15 | unsafe fn array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().<T, const N: usize>(array: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<T>; N]) -> [T; N] { |
| 16 | (&array as *const _ as *const [T; N]).readrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/const_ptr/impl#[`*const T`]read().() |
| 17 | } |
| 18 | |
| 19 | impl<T: FloatEqUlpsTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqUlpsTol#, const N: usize> FloatEqUlpsTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqUlpsTol# for [T; N] |
| 20 | where |
| 21 | UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<T>: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 22 | { |
| 23 | type UlpsTolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[T; N]`][FloatEqUlpsTol]UlpsTol# = [UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<T>; N]; |
| 24 | } |
| 25 | |
| 26 | impl<T: FloatEqDebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/FloatEqDebugUlpsDiff#, const N: usize> FloatEqDebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/FloatEqDebugUlpsDiff# for [T; N] { |
| 27 | type DebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[T; N]`][FloatEqDebugUlpsDiff]DebugUlpsDiff# = [DebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/DebugUlpsDiff#<T>; N]; |
| 28 | } |
| 29 | |
| 30 | impl<A, B, const N: usize> FloatEqrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#<[B; N]> for [A; N] |
| 31 | where |
| 32 | A: FloatEqrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#<B>, |
| 33 | A::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 34 | UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<A::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#>: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 35 | { |
| 36 | type Tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]Tol# = [A::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#; N]; |
| 37 | |
| 38 | #[inline] |
| 39 | fn eq_absrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]eq_abs().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> bool { |
| 40 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 41 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..eq_absrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#eq_abs().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) { |
| 42 | return false; |
| 43 | } |
| 44 | } |
| 45 | true |
| 46 | } |
| 47 | |
| 48 | #[inline] |
| 49 | fn eq_rmaxrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]eq_rmax().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> bool { |
| 50 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 51 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..eq_rmaxrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#eq_rmax().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) { |
| 52 | return false; |
| 53 | } |
| 54 | } |
| 55 | true |
| 56 | } |
| 57 | |
| 58 | #[inline] |
| 59 | fn eq_rminrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]eq_rmin().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> bool { |
| 60 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 61 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..eq_rminrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#eq_rmin().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) { |
| 62 | return false; |
| 63 | } |
| 64 | } |
| 65 | true |
| 66 | } |
| 67 | |
| 68 | #[inline] |
| 69 | fn eq_r1strust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]eq_r1st().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> bool { |
| 70 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 71 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..eq_r1strust-analyzer cargo float_eq 1.0.1 traits/FloatEq#eq_r1st().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) { |
| 72 | return false; |
| 73 | } |
| 74 | } |
| 75 | true |
| 76 | } |
| 77 | |
| 78 | #[inline] |
| 79 | fn eq_r2ndrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]eq_r2nd().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> bool { |
| 80 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 81 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..eq_r2ndrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#eq_r2nd().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) { |
| 82 | return false; |
| 83 | } |
| 84 | } |
| 85 | true |
| 86 | } |
| 87 | |
| 88 | #[inline] |
| 89 | fn eq_ulpsrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]eq_ulps().(&self, other: &[B; N], tol: &UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#>) -> bool { |
| 90 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 91 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..eq_ulpsrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#eq_ulps().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) { |
| 92 | return false; |
| 93 | } |
| 94 | } |
| 95 | true |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | impl<A, B, const N: usize> FloatEqAllrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#<[B; N]> for [A; N] |
| 100 | where |
| 101 | A: FloatEqAllrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#<B>, |
| 102 | { |
| 103 | type AllTolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]AllTol# = A::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#; |
| 104 | |
| 105 | #[inline] |
| 106 | fn eq_abs_allrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]eq_abs_all().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> bool { |
| 107 | self.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().() |
| 108 | .ziprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#zip().(other.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()) |
| 109 | .allrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#all().(|(a, b)| a.eq_abs_allrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#eq_abs_all().(b, tol)) |
| 110 | } |
| 111 | |
| 112 | #[inline] |
| 113 | fn eq_rmax_allrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]eq_rmax_all().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> bool { |
| 114 | self.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().() |
| 115 | .ziprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#zip().(other.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()) |
| 116 | .allrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#all().(|(a, b)| a.eq_rmax_allrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#eq_rmax_all().(b, tol)) |
| 117 | } |
| 118 | |
| 119 | #[inline] |
| 120 | fn eq_rmin_allrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]eq_rmin_all().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> bool { |
| 121 | self.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().() |
| 122 | .ziprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#zip().(other.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()) |
| 123 | .allrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#all().(|(a, b)| a.eq_rmin_allrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#eq_rmin_all().(b, tol)) |
| 124 | } |
| 125 | |
| 126 | #[inline] |
| 127 | fn eq_r1st_allrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]eq_r1st_all().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> bool { |
| 128 | self.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().() |
| 129 | .ziprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#zip().(other.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()) |
| 130 | .allrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#all().(|(a, b)| a.eq_r1st_allrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#eq_r1st_all().(b, tol)) |
| 131 | } |
| 132 | |
| 133 | #[inline] |
| 134 | fn eq_r2nd_allrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]eq_r2nd_all().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> bool { |
| 135 | self.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().() |
| 136 | .ziprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#zip().(other.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()) |
| 137 | .allrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#all().(|(a, b)| a.eq_r2nd_allrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#eq_r2nd_all().(b, tol)) |
| 138 | } |
| 139 | |
| 140 | #[inline] |
| 141 | fn eq_ulps_allrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]eq_ulps_all().(&self, other: &[B; N], tol: &UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`FloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#>) -> bool { |
| 142 | self.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().() |
| 143 | .ziprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#zip().(other.iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().()) |
| 144 | .allrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#all().(|(a, b)| a.eq_ulps_allrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#eq_ulps_all().(b, tol)) |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | impl<A, B, const N: usize> AssertFloatEqrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#<[B; N]> for [A; N] |
| 149 | where |
| 150 | A: AssertFloatEqrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#<B>, |
| 151 | A::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 152 | A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 153 | UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<A::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#>: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 154 | UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 155 | { |
| 156 | type DebugAbsDiffrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]DebugAbsDiff# = [A::DebugAbsDiffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugAbsDiff#; N]; |
| 157 | type DebugTolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]DebugTol# = [A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#; N]; |
| 158 | |
| 159 | #[inline] |
| 160 | fn debug_abs_diffrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_abs_diff().(&self, other: &[B; N]) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugAbsDiffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugAbsDiff# { |
| 161 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::DebugAbsDiffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugAbsDiff#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 162 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 163 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_abs_diffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_abs_diff().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 164 | } |
| 165 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 166 | } |
| 167 | |
| 168 | #[inline] |
| 169 | fn debug_ulps_diffrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_ulps_diff().(&self, other: &[B; N]) -> DebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/DebugUlpsDiff#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugAbsDiffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugAbsDiff#> { |
| 170 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<DebugUlpsDiffrust-analyzer cargo float_eq 1.0.1 traits/DebugUlpsDiff#<A::DebugAbsDiffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugAbsDiff#>>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 171 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 172 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_ulps_diffrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_ulps_diff().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 173 | } |
| 174 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 175 | } |
| 176 | |
| 177 | #[inline] |
| 178 | fn debug_abs_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_abs_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol# { |
| 179 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 180 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 181 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_abs_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_abs_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 182 | } |
| 183 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 184 | } |
| 185 | |
| 186 | #[inline] |
| 187 | fn debug_rmax_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_rmax_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol# { |
| 188 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 189 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 190 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_rmax_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_rmax_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 191 | } |
| 192 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 193 | } |
| 194 | |
| 195 | #[inline] |
| 196 | fn debug_rmin_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_rmin_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol# { |
| 197 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 198 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 199 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_rmin_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_rmin_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 200 | } |
| 201 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 202 | } |
| 203 | |
| 204 | #[inline] |
| 205 | fn debug_r1st_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_r1st_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol# { |
| 206 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 207 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 208 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_r1st_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_r1st_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 209 | } |
| 210 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 211 | } |
| 212 | |
| 213 | #[inline] |
| 214 | fn debug_r2nd_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_r2nd_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol# { |
| 215 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 216 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 217 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_r2nd_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_r2nd_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 218 | } |
| 219 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 220 | } |
| 221 | |
| 222 | #[inline] |
| 223 | fn debug_ulps_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]debug_ulps_tol().(&self, other: &[B; N], tol: &UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::Tolrust-analyzer cargo float_eq 1.0.1 traits/FloatEq#Tol#>) -> UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEq<[B; N]>`]::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#> { |
| 224 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<A::DebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#DebugTol#>>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 225 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 226 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_ulps_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEq#debug_ulps_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., &tol[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)); |
| 227 | } |
| 228 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | impl<A, B, const N: usize> AssertFloatEqAllrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#<[B; N]> for [A; N] |
| 233 | where |
| 234 | A: AssertFloatEqAllrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#<B>, |
| 235 | UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized#, |
| 236 | { |
| 237 | type AllDebugTolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]AllDebugTol# = [A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#; N]; |
| 238 | |
| 239 | #[inline] |
| 240 | fn debug_abs_all_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]debug_abs_all_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol# { |
| 241 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 242 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 243 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_abs_all_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#debug_abs_all_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., tol)); |
| 244 | } |
| 245 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 246 | } |
| 247 | |
| 248 | #[inline] |
| 249 | fn debug_rmax_all_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]debug_rmax_all_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol# { |
| 250 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 251 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 252 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_rmax_all_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#debug_rmax_all_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., tol)); |
| 253 | } |
| 254 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 255 | } |
| 256 | |
| 257 | #[inline] |
| 258 | fn debug_rmin_all_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]debug_rmin_all_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol# { |
| 259 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 260 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 261 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_rmin_all_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#debug_rmin_all_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., tol)); |
| 262 | } |
| 263 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 264 | } |
| 265 | |
| 266 | #[inline] |
| 267 | fn debug_r1st_all_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]debug_r1st_all_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol# { |
| 268 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 269 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 270 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_r1st_all_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#debug_r1st_all_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., tol)); |
| 271 | } |
| 272 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 273 | } |
| 274 | |
| 275 | #[inline] |
| 276 | fn debug_r2nd_all_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]debug_r2nd_all_tol().(&self, other: &[B; N], tol: &Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#) -> Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol# { |
| 277 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 278 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 279 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_r2nd_all_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#debug_r2nd_all_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., tol)); |
| 280 | } |
| 281 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 282 | } |
| 283 | |
| 284 | #[inline] |
| 285 | fn debug_ulps_all_tolrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]debug_ulps_all_tol().( |
| 286 | &self, |
| 287 | other: &[B; N], |
| 288 | tol: &UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllTolrust-analyzer cargo float_eq 1.0.1 traits/FloatEqAll#AllTol#>, |
| 289 | ) -> UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<Selfrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/impl#[`[A; N]`][`AssertFloatEqAll<[B; N]>`]::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#> { |
| 290 | let mut result: [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<UlpsTolrust-analyzer cargo float_eq 1.0.1 traits/UlpsTol#<A::AllDebugTolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#AllDebugTol#>>; N] = uninit_arrayrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/uninit_array().(); |
| 291 | for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#N { |
| 292 | result[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::newrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]new().(self[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..debug_ulps_all_tolrust-analyzer cargo float_eq 1.0.1 traits/AssertFloatEqAll#debug_ulps_all_tol().(&other[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., tol)); |
| 293 | } |
| 294 | unsafe { array_assume_initrust-analyzer cargo float_eq 1.0.1 trait_impls/arrays/array_assume_init().(result) } |
| 295 | } |
| 296 | } |