Trait Add

Source
pub trait Add {
    type S;

    // Required method
    fn add(_: Self::S, _: Self::S) -> Self::S;
}

Required Associated Types§

Source

type S

Required Methods§

Source

fn add(_: Self::S, _: Self::S) -> Self::S

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§