Skip to main content

MulLogic

Trait MulLogic 

Source
pub trait MulLogic<Rhs = Self> {
    type Output;

    // Required method
    fn mul_logic(self, other: Rhs) -> Self::Output;
}
Expand description

Trait for multiplication (*) in logic code.

Required Associated Types§

Required Methods§

Source

fn mul_logic(self, other: Rhs) -> Self::Output

logic

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl MulLogic for i8

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = i8

Source§

impl MulLogic for i16

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = i16

Source§

impl MulLogic for i32

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = i32

Source§

impl MulLogic for i64

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = i64

Source§

impl MulLogic for i128

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = i128

Source§

impl MulLogic for isize

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = isize

Source§

impl MulLogic for u8

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = u8

Source§

impl MulLogic for u16

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = u16

Source§

impl MulLogic for u32

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = u32

Source§

impl MulLogic for u64

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = u64

Source§

impl MulLogic for u128

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = u128

Source§

impl MulLogic for usize

Source§

fn mul_logic(self, other: Self) -> Self

logic

Source§

type Output = usize

Implementors§