Don't bound on Copy to implement Animate for Size2D and Point2D

This commit is contained in:
Anthony Ramine 2018-03-09 11:01:52 +01:00
parent 9f631fd886
commit 491a79ee4e
2 changed files with 32 additions and 32 deletions

View file

@ -159,7 +159,7 @@ impl Animate for Au {
impl<T> Animate for Size2D<T>
where
T: Animate + Copy,
T: Animate,
{
#[inline]
fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()> {
@ -172,7 +172,7 @@ where
impl<T> Animate for Point2D<T>
where
T: Animate + Copy,
T: Animate,
{
#[inline]
fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()> {