mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Update euclid to 0.10.1
This commit is contained in:
parent
8a75810eba
commit
51768844ed
37 changed files with 281 additions and 280 deletions
|
@ -25,7 +25,7 @@ bitflags = "0.7"
|
|||
cssparser = "0.5.7"
|
||||
deque = "0.3.1"
|
||||
encoding = "0.2"
|
||||
euclid = "0.9"
|
||||
euclid = "0.10.1"
|
||||
fnv = "1.0"
|
||||
gecko_bindings = {path = "../../ports/geckolib/gecko_bindings", optional = true}
|
||||
gecko_string_cache = {path = "../../ports/geckolib/string_cache", optional = true}
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue