Added the Zero and One traits to sigils.

It looks like these may be removed from the standard library soon.
This commit is contained in:
Jason Travis Smith
2016-01-06 05:59:38 -05:00
parent 04e744fb0f
commit 9306a73f9a
9 changed files with 133 additions and 18 deletions

View File

@ -2,11 +2,12 @@
//! License: Proprietary
//!
//!
#![feature(zero_one)]
#![feature(float_extras)]
#![feature(associated_consts)]
mod zero;
mod one;
mod bounded;
mod number;
mod whole;
@ -20,6 +21,8 @@ pub mod matrix;
pub mod quaternion;
pub use self::zero::Zero;
pub use self::one::One;
pub use self::number::Number;
pub use self::whole::Whole;
pub use self::integer::Integer;