Inherit Vector trait
This commit is contained in:
parent
ef3432bcc6
commit
bac59d2332
1 changed files with 2 additions and 2 deletions
|
@ -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 any() -> bool;
|
||||||
pure fn all() -> bool;
|
pure fn all() -> bool;
|
||||||
pure fn not() -> self;
|
pure fn not() -> self;
|
||||||
|
|
Loading…
Reference in a new issue