Implement mouseevent.which (needed for enyojs sampler).

This commit is contained in:
Glenn Watson 2015-07-22 08:20:06 +10:00
parent 2a2c7e18c0
commit 2e074ce452
3 changed files with 18 additions and 1 deletions

View file

@ -45,7 +45,7 @@ use euclid::rect::Rect;
/// The address of a node. Layout sends these back. They must be validated via
/// `from_untrusted_node_address` before they can be used, because we do not trust layout.
#[allow(raw_pointer_derive)]
#[derive(Copy, Clone)]
#[derive(Copy, Clone, Debug)]
pub struct UntrustedNodeAddress(pub *const c_void);
unsafe impl Send for UntrustedNodeAddress {}