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:
@ -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;
|
||||
|
Reference in New Issue
Block a user