A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.rs/num-traits/0.2.19/x86_64-unknown-linux-gnu/num_traits/trait.NumOps.html below:

NumOps in num_traits - Rust

pub trait NumOps<Rhs = Self, Output = Self>:
    Add<Rhs, Output = Output>
    + Sub<Rhs, Output = Output>
    + Mul<Rhs, Output = Output>
    + Div<Rhs, Output = Output>
    + Rem<Rhs, Output = Output> { }
Expand description

Generic trait for types implementing basic numeric operations

This is automatically implemented for types which implement the operators.

Implementors§ Source§ impl<T, Rhs, Output> NumOps<Rhs, Output> for T

where T:

Add

<Rhs, Output = Output> +

Sub

<Rhs, Output = Output> +

Mul

<Rhs, Output = Output> +

Div

<Rhs, Output = Output> +

Rem

<Rhs, Output = Output>,


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4