Trait arithmetic_eval::Number[][src]

pub trait Number: Clone + 'static { }
Expand description

Marker trait for possible literals.

This trait is somewhat of a crutch, necessary to ensure that function wrappers can accept number arguments and distinguish them from other types (booleans, vectors, tuples, etc.).

Implementations on Foreign Types

impl Number for i8[src]

impl Number for u8[src]

impl Number for i16[src]

impl Number for u16[src]

impl Number for i32[src]

impl Number for u32[src]

impl Number for i64[src]

impl Number for u64[src]

impl Number for i128[src]

impl Number for u128[src]

impl Number for f32[src]

impl Number for f64[src]

impl Number for Complex32[src]

impl Number for Complex64[src]

impl Number for BigInt[src]

impl Number for BigUint[src]

Implementors