Skip to main content

Mean

Trait Mean 

Source
pub trait Mean {
    // Required method
    fn mean(&self, other: &Self) -> Self;
}

Required Methods§

Source

fn mean(&self, other: &Self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Mean for f64

Source§

fn mean(&self, other: &f64) -> f64

Source§

impl Mean for i32

Source§

fn mean(&self, other: &i32) -> i32

Implementors§

Source§

impl<T> Mean for PosC<T>
where T: Mean + Debug + Copy,