Inherit Vector trait

This commit is contained in:
Brendan Zabarauskas 2012-11-13 18:44:28 +10:00
parent ef3432bcc6
commit bac59d2332

View file

@ -1,6 +1,6 @@
use vector::{Vec2, Vec3, Vec4};
use vector::{Vector, Vec2, Vec3, Vec4};
pub trait BooleanVector {
pub trait BooleanVector: Vector<bool> {
pure fn any() -> bool;
pure fn all() -> bool;
pure fn not() -> self;