mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add bindings for TouchEvent DOM interfaces
This commit is contained in:
parent
79f300f038
commit
4ed15a8853
9 changed files with 302 additions and 1 deletions
|
@ -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> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue