diff options
author | Connor Brewster <brewsterc@my.caspercollege.edu> | 2016-06-04 15:22:18 -0600 |
---|---|---|
committer | Connor Brewster <brewsterc@my.caspercollege.edu> | 2016-06-04 18:47:38 -0600 |
commit | c0ea1f16a81db19a6cd1c1c845105d6f6da57983 (patch) | |
tree | 8e8415328417b8ef85425ada6eda0caea6428419 /components/msg | |
parent | 80a58cadc5f864bfb44671e2e7228d7c6cdf4ab4 (diff) | |
download | servo-c0ea1f16a81db19a6cd1c1c845105d6f6da57983.tar.gz servo-c0ea1f16a81db19a6cd1c1c845105d6f6da57983.zip |
Added support for navigating by a delta
Diffstat (limited to 'components/msg')
-rw-r--r-- | components/msg/constellation_msg.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/msg/constellation_msg.rs b/components/msg/constellation_msg.rs index 7e64619db69..8d81702c465 100644 --- a/components/msg/constellation_msg.rs +++ b/components/msg/constellation_msg.rs @@ -244,8 +244,8 @@ impl LoadData { #[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)] pub enum NavigationDirection { - Forward, - Back, + Forward(usize), + Back(usize), } #[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)] |