more traits
This commit is contained in:
parent
d48b03889d
commit
a097e3945f
@ -2,3 +2,15 @@ pub trait WideMul<Rhs=Self>{
|
|||||||
type Output;
|
type Output;
|
||||||
fn wide_mul(self,rhs:Rhs)->Self::Output;
|
fn wide_mul(self,rhs:Rhs)->Self::Output;
|
||||||
}
|
}
|
||||||
|
pub trait WideDiv<Rhs=Self>{
|
||||||
|
type Output;
|
||||||
|
fn wide_div(self,rhs:Rhs)->Self::Output;
|
||||||
|
}
|
||||||
|
pub trait WideDot<Rhs=Self>{
|
||||||
|
type Output;
|
||||||
|
fn wide_dot(self,rhs:Rhs)->Self::Output;
|
||||||
|
}
|
||||||
|
pub trait WideCross<Rhs=Self>{
|
||||||
|
type Output;
|
||||||
|
fn wide_cross(self,rhs:Rhs)->Self::Output;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user