Add bindings for TouchEvent DOM interfaces

This commit is contained in:
Matt Brubeck 2015-08-10 20:55:19 -07:00
parent 79f300f038
commit 4ed15a8853
9 changed files with 302 additions and 1 deletions

View file

@ -9,7 +9,7 @@ use num::Float;
use std::ops::Deref;
/// Encapsulates the IDL restricted float type.
#[derive(JSTraceable, Clone, Eq, PartialEq)]
#[derive(JSTraceable, Clone, Copy, Eq, PartialEq)]
pub struct Finite<T: Float>(T);
unsafe impl<T: Float> Zeroable for Finite<T> {}