pub trait CarryingMulAdd: Copy + 'static {
type Unsigned: Copy + 'static;
// Required method
fn carrying_mul_add(
self,
multiplicand: Self,
addend: Self,
carry: Self,
) -> (Self::Unsigned, Self);
}
core_intrinsics_fallbacks)
type Unsigned: Copy + 'static
core_intrinsics_fallbacks)
fn carrying_mul_add(
self,
multiplicand: Self,
addend: Self,
carry: Self,
) -> (Self::Unsigned, Self)core_intrinsics_fallbacks)
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
impl CarryingMulAdd for i8
type Unsigned = u8
impl CarryingMulAdd for i16
type Unsigned = u16
impl CarryingMulAdd for i32
type Unsigned = u32
impl CarryingMulAdd for i64
type Unsigned = u64
impl CarryingMulAdd for i128
type Unsigned = u128
impl CarryingMulAdd for isize
type Unsigned = usize
impl CarryingMulAdd for u8
type Unsigned = u8
impl CarryingMulAdd for u16
type Unsigned = u16
impl CarryingMulAdd for u32
type Unsigned = u32
impl CarryingMulAdd for u64
type Unsigned = u64
impl CarryingMulAdd for u128
type Unsigned = u128
impl CarryingMulAdd for usize
type Unsigned = usize
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/fallback/trait.CarryingMulAdd.html