aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index df9bc1d..c3025b3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,6 +4,7 @@ mod scene;
use std::ops::{Add, Sub, Mul, DivAssign};
use std::cmp;
+use std::fmt;
/// Trait used to implement generics
///
@@ -14,7 +15,8 @@ pub trait Number:
Sub<Output = Self> +
Add<Output = Self> +
Mul<Output = Self> +
- DivAssign
+ DivAssign +
+ fmt::Display
{}
impl Number for i32 {}