add Time*i64
This commit is contained in:
parent
5790863111
commit
43e1f8a173
@ -122,7 +122,13 @@ impl std::ops::Div<i64> for Time{
|
||||
Time(self.0/rhs)
|
||||
}
|
||||
}
|
||||
|
||||
impl std::ops::Mul<i64> for Time{
|
||||
type Output=Time;
|
||||
#[inline]
|
||||
fn mul(self,rhs:i64)->Self::Output{
|
||||
Time(self.0*rhs)
|
||||
}
|
||||
}
|
||||
impl core::ops::Mul<Time> for Planar64{
|
||||
type Output=Ratio<Fixed<2,64>,Planar64>;
|
||||
fn mul(self,rhs:Time)->Self::Output{
|
||||
|
Loading…
Reference in New Issue
Block a user