devela::all

Trait IteratorProduct

1.12.0 · Source
pub trait IteratorProduct<A = Self>: Sized {
    // Required method
    fn product<I>(iter: I) -> Self
       where I: Iterator<Item = A>;
}
Expand description

core Represents types that can be created by multiplying elements of an iterator.

Re-exported from core::iter:: ProductIteratorProduct.


Trait to represent types that can be created by multiplying elements of an iterator.

This trait is used to implement Iterator::product(). Types which implement this trait can be generated by using the product() method on an iterator. Like FromIterator, this trait should rarely be called directly.

Required Methods§

1.12.0 · Source

fn product<I>(iter: I) -> Self
where I: Iterator<Item = A>,

Takes an iterator and generates Self from the elements by multiplying the items.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

1.12.0 · Source§

impl Product for f32

1.12.0 · Source§

impl Product for f64

1.12.0 · Source§

impl Product for i8

1.12.0 · Source§

impl Product for i16

1.12.0 · Source§

impl Product for i32

1.12.0 · Source§

impl Product for i64

1.12.0 · Source§

impl Product for i128

1.12.0 · Source§

impl Product for isize

1.12.0 · Source§

impl Product for u8

1.12.0 · Source§

impl Product for u16

1.12.0 · Source§

impl Product for u32

1.12.0 · Source§

impl Product for u64

1.12.0 · Source§

impl Product for u128

1.12.0 · Source§

impl Product for usize

Source§

impl Product for BigInt

Source§

impl Product for Number

§

impl Product for f32_be

§

impl Product for f32_le

§

impl Product for f64_be

§

impl Product for f64_le

§

impl Product for i16_be

§

impl Product for i16_le

§

impl Product for i32_be

§

impl Product for i32_le

§

impl Product for i64_be

§

impl Product for i64_le

§

impl Product for i128_be

§

impl Product for i128_le

§

impl Product for u16_be

§

impl Product for u16_le

§

impl Product for u32_be

§

impl Product for u32_le

§

impl Product for u64_be

§

impl Product for u64_le

§

impl Product for u128_be

§

impl Product for u128_le

§

impl Product for f32_ube

§

impl Product for f32_ule

§

impl Product for f64_ube

§

impl Product for f64_ule

§

impl Product for i16_ube

§

impl Product for i16_ule

§

impl Product for i32_ube

§

impl Product for i32_ule

§

impl Product for i64_ube

§

impl Product for i64_ule

§

impl Product for i128_ube

§

impl Product for i128_ule

§

impl Product for u16_ube

§

impl Product for u16_ule

§

impl Product for u32_ube

§

impl Product for u32_ule

§

impl Product for u64_ube

§

impl Product for u64_ule

§

impl Product for u128_ube

§

impl Product for u128_ule

Source§

impl Product for Mat3

Source§

impl Product for Mat2

Source§

impl Product for Mat3A

Source§

impl Product for Mat4

Source§

impl Product for Quat

Source§

impl Product for Vec3A

Source§

impl Product for Vec4

Source§

impl Product for Vec2

Source§

impl Product for Vec3

Source§

impl Product for DMat2

Source§

impl Product for DMat3

Source§

impl Product for DMat4

Source§

impl Product for DQuat

Source§

impl Product for DVec2

Source§

impl Product for DVec3

Source§

impl Product for DVec4

Source§

impl Product for I8Vec2

Source§

impl Product for I8Vec3

Source§

impl Product for I8Vec4

Source§

impl Product for I16Vec2

Source§

impl Product for I16Vec3

Source§

impl Product for I16Vec4

Source§

impl Product for IVec2

Source§

impl Product for IVec3

Source§

impl Product for IVec4

Source§

impl Product for I64Vec2

Source§

impl Product for I64Vec3

Source§

impl Product for I64Vec4

Source§

impl Product for U8Vec2

Source§

impl Product for U8Vec3

Source§

impl Product for U8Vec4

Source§

impl Product for U16Vec2

Source§

impl Product for U16Vec3

Source§

impl Product for U16Vec4

Source§

impl Product for UVec2

Source§

impl Product for UVec3

Source§

impl Product for UVec4

Source§

impl Product for U64Vec2

Source§

impl Product for U64Vec3

Source§

impl Product for U64Vec4

1.14.0 · Source§

impl Product for Wrapping<i8>

1.14.0 · Source§

impl Product for Wrapping<i16>

1.14.0 · Source§

impl Product for Wrapping<i32>

1.14.0 · Source§

impl Product for Wrapping<i64>

1.14.0 · Source§

impl Product for Wrapping<i128>

1.14.0 · Source§

impl Product for Wrapping<isize>

1.14.0 · Source§

impl Product for Wrapping<u8>

1.14.0 · Source§

impl Product for Wrapping<u16>

1.14.0 · Source§

impl Product for Wrapping<u32>

1.14.0 · Source§

impl Product for Wrapping<u64>

1.14.0 · Source§

impl Product for Wrapping<u128>

1.14.0 · Source§

impl Product for Wrapping<usize>

1.12.0 · Source§

impl<'a> Product<&'a f32> for f32

1.12.0 · Source§

impl<'a> Product<&'a f64> for f64

1.12.0 · Source§

impl<'a> Product<&'a i8> for i8

1.12.0 · Source§

impl<'a> Product<&'a i16> for i16

1.12.0 · Source§

impl<'a> Product<&'a i32> for i32

1.12.0 · Source§

impl<'a> Product<&'a i64> for i64

1.12.0 · Source§

impl<'a> Product<&'a i128> for i128

1.12.0 · Source§

impl<'a> Product<&'a isize> for isize

1.12.0 · Source§

impl<'a> Product<&'a u8> for u8

1.12.0 · Source§

impl<'a> Product<&'a u16> for u16

1.12.0 · Source§

impl<'a> Product<&'a u32> for u32

1.12.0 · Source§

impl<'a> Product<&'a u64> for u64

1.12.0 · Source§

impl<'a> Product<&'a u128> for u128

1.12.0 · Source§

impl<'a> Product<&'a usize> for usize

Source§

impl<'a> Product<&'a BigInt> for BigInt

Source§

impl<'a> Product<&'a Number> for Number

Source§

impl<'a> Product<&'a Affine2> for Affine2

Source§

impl<'a> Product<&'a Affine3A> for Affine3A

Source§

impl<'a> Product<&'a Mat3> for Mat3

Source§

impl<'a> Product<&'a Mat2> for Mat2

Source§

impl<'a> Product<&'a Mat3A> for Mat3A

Source§

impl<'a> Product<&'a Mat4> for Mat4

Source§

impl<'a> Product<&'a Quat> for Quat

Source§

impl<'a> Product<&'a Vec3A> for Vec3A

Source§

impl<'a> Product<&'a Vec4> for Vec4

Source§

impl<'a> Product<&'a Vec2> for Vec2

Source§

impl<'a> Product<&'a Vec3> for Vec3

Source§

impl<'a> Product<&'a DAffine2> for DAffine2

Source§

impl<'a> Product<&'a DAffine3> for DAffine3

Source§

impl<'a> Product<&'a DMat2> for DMat2

Source§

impl<'a> Product<&'a DMat3> for DMat3

Source§

impl<'a> Product<&'a DMat4> for DMat4

Source§

impl<'a> Product<&'a DQuat> for DQuat

Source§

impl<'a> Product<&'a DVec2> for DVec2

Source§

impl<'a> Product<&'a DVec3> for DVec3

Source§

impl<'a> Product<&'a DVec4> for DVec4

Source§

impl<'a> Product<&'a I8Vec2> for I8Vec2

Source§

impl<'a> Product<&'a I8Vec3> for I8Vec3

Source§

impl<'a> Product<&'a I8Vec4> for I8Vec4

Source§

impl<'a> Product<&'a I16Vec2> for I16Vec2

Source§

impl<'a> Product<&'a I16Vec3> for I16Vec3

Source§

impl<'a> Product<&'a I16Vec4> for I16Vec4

Source§

impl<'a> Product<&'a IVec2> for IVec2

Source§

impl<'a> Product<&'a IVec3> for IVec3

Source§

impl<'a> Product<&'a IVec4> for IVec4

Source§

impl<'a> Product<&'a I64Vec2> for I64Vec2

Source§

impl<'a> Product<&'a I64Vec3> for I64Vec3

Source§

impl<'a> Product<&'a I64Vec4> for I64Vec4

Source§

impl<'a> Product<&'a U8Vec2> for U8Vec2

Source§

impl<'a> Product<&'a U8Vec3> for U8Vec3

Source§

impl<'a> Product<&'a U8Vec4> for U8Vec4

Source§

impl<'a> Product<&'a U16Vec2> for U16Vec2

Source§

impl<'a> Product<&'a U16Vec3> for U16Vec3

Source§

impl<'a> Product<&'a U16Vec4> for U16Vec4

Source§

impl<'a> Product<&'a UVec2> for UVec2

Source§

impl<'a> Product<&'a UVec3> for UVec3

Source§

impl<'a> Product<&'a UVec4> for UVec4

Source§

impl<'a> Product<&'a U64Vec2> for U64Vec2

Source§

impl<'a> Product<&'a U64Vec3> for U64Vec3

Source§

impl<'a> Product<&'a U64Vec4> for U64Vec4

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<i8>> for Wrapping<i8>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<i16>> for Wrapping<i16>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<i32>> for Wrapping<i32>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<i64>> for Wrapping<i64>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<i128>> for Wrapping<i128>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<isize>> for Wrapping<isize>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<u8>> for Wrapping<u8>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<u16>> for Wrapping<u16>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<u32>> for Wrapping<u32>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<u64>> for Wrapping<u64>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<u128>> for Wrapping<u128>

1.14.0 · Source§

impl<'a> Product<&'a Wrapping<usize>> for Wrapping<usize>

Source§

impl<'a, const N: usize> Product<&'a Simd<f32, N>> for Simd<f32, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<f64, N>> for Simd<f64, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<i8, N>> for Simd<i8, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<i16, N>> for Simd<i16, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<i32, N>> for Simd<i32, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<i64, N>> for Simd<i64, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<isize, N>> for Simd<isize, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<u8, N>> for Simd<u8, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<u16, N>> for Simd<u16, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<u32, N>> for Simd<u32, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<u64, N>> for Simd<u64, N>

Source§

impl<'a, const N: usize> Product<&'a Simd<usize, N>> for Simd<usize, N>

§

impl<RHS> Product<RHS> for f32x4
where f32x4: MulAssign<RHS>,

§

impl<RHS> Product<RHS> for f32x8
where f32x8: MulAssign<RHS>,

§

impl<RHS> Product<RHS> for f64x2
where f64x2: MulAssign<RHS>,

§

impl<RHS> Product<RHS> for f64x4
where f64x4: MulAssign<RHS>,

§

impl<RHS> Product<RHS> for i16x8
where i16x8: MulAssign<RHS>,

§

impl<RHS> Product<RHS> for i32x4
where i32x4: MulAssign<RHS>,

§

impl<RHS> Product<RHS> for i32x8
where i32x8: MulAssign<RHS>,

1.37.0 · Source§

impl<T, U> Product<Option<U>> for Option<T>
where T: Product<U>,

1.16.0 · Source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>
where T: Product<U>,

Source§

impl<const N: usize> Product for Simd<f32, N>

Source§

impl<const N: usize> Product for Simd<f64, N>

Source§

impl<const N: usize> Product for Simd<i8, N>

Source§

impl<const N: usize> Product for Simd<i16, N>

Source§

impl<const N: usize> Product for Simd<i32, N>

Source§

impl<const N: usize> Product for Simd<i64, N>

Source§

impl<const N: usize> Product for Simd<isize, N>

Source§

impl<const N: usize> Product for Simd<u8, N>

Source§

impl<const N: usize> Product for Simd<u16, N>

Source§

impl<const N: usize> Product for Simd<u32, N>

Source§

impl<const N: usize> Product for Simd<u64, N>

Source§

impl<const N: usize> Product for Simd<usize, N>