Trait Additive

Source
pub trait Additive: BinaryOp {
    // Required method
    fn times(&self, a: Self::Element, n: u64) -> Self::Element;
}
Expand description

二項演算が加法的

Required Methods§

Source

fn times(&self, a: Self::Element, n: u64) -> Self::Element

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§