Trait static_aabb2d_index::IndexableNum[][src]

pub trait IndexableNum: Copy + Num + PartialOrd + Default + Bounded + NumCast {
    fn min(self, other: Self) -> Self { ... }
fn max(self, other: Self) -> Self { ... } }

Trait used by the StaticAABB2DIndex that is required to be implemented for type T. It is blanket implemented for all supported primitive numeric types.

Provided methods

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

Simple default min implementation for PartialOrd types.

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

Simple default max implementation for PartialOrd types.

Loading content...

Implementations on Foreign Types

impl IndexableNum for u16[src]

impl IndexableNum for i32[src]

impl IndexableNum for u32[src]

impl IndexableNum for i64[src]

impl IndexableNum for u64[src]

impl IndexableNum for i128[src]

impl IndexableNum for u128[src]

impl IndexableNum for f32[src]

impl IndexableNum for f64[src]

Loading content...

Implementors

Loading content...