Trait mutils::internal::NumTrampolene[][src]

pub trait NumTrampolene {
    fn min(self, other: Self) -> Self;
fn max(self, other: Self) -> Self;
fn abs(self) -> Self; }

The functions defined here don't have traits, or the traits are only partially implemented on numeric types.

This exists so I can use any numbers with things like Point.

Required methods

fn min(self, other: Self) -> Self[src]

fn max(self, other: Self) -> Self[src]

fn abs(self) -> Self[src]

Loading content...

Implementations on Foreign Types

impl NumTrampolene for u8[src]

impl NumTrampolene for u16[src]

impl NumTrampolene for u32[src]

impl NumTrampolene for u64[src]

impl NumTrampolene for i8[src]

impl NumTrampolene for i16[src]

impl NumTrampolene for i32[src]

impl NumTrampolene for i64[src]

impl NumTrampolene for usize[src]

impl NumTrampolene for isize[src]

impl NumTrampolene for f32[src]

impl NumTrampolene for f64[src]

Loading content...

Implementors

Loading content...