Update euclid to 0.10.1

This commit is contained in:
Anthony Ramine 2016-08-19 17:13:23 +02:00
parent 8a75810eba
commit 51768844ed
37 changed files with 281 additions and 280 deletions

View file

@ -242,7 +242,7 @@ impl Interpolate for ZIndex {
}
}
impl<T: Interpolate + Clone> Interpolate for Size2D<T> {
impl<T: Interpolate + Copy> Interpolate for Size2D<T> {
#[inline]
fn interpolate(&self, other: &Self, time: f64) -> Result<Self, ()> {
let width = try!(self.width.interpolate(&other.width, time));
@ -252,7 +252,7 @@ impl<T: Interpolate + Clone> Interpolate for Size2D<T> {
}
}
impl<T: Interpolate + Clone> Interpolate for Point2D<T> {
impl<T: Interpolate + Copy> Interpolate for Point2D<T> {
#[inline]
fn interpolate(&self, other: &Self, time: f64) -> Result<Self, ()> {
let x = try!(self.x.interpolate(&other.x, time));