aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2013-08-09 13:41:10 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2013-08-15 13:55:40 -0700
commitffe60ea02704c0bd4545a194bff3f2feafd0133c (patch)
tree97f40c907aae08235e4bc856681cd1eb6df5a274 /src/components/script/dom/bindings/utils.rs
parent907d9f23cf8ab5be112376199c3c57ba9e4a3035 (diff)
downloadservo-ffe60ea02704c0bd4545a194bff3f2feafd0133c.tar.gz
servo-ffe60ea02704c0bd4545a194bff3f2feafd0133c.zip
Trait changes, and eliminate 'copy'
Diffstat (limited to 'src/components/script/dom/bindings/utils.rs')
-rw-r--r--src/components/script/dom/bindings/utils.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/script/dom/bindings/utils.rs b/src/components/script/dom/bindings/utils.rs
index 728c1eb112e..c30eea5f1db 100644
--- a/src/components/script/dom/bindings/utils.rs
+++ b/src/components/script/dom/bindings/utils.rs
@@ -392,6 +392,7 @@ pub struct JSNativeHolder {
propertyHooks: *NativePropertyHooks
}
+#[deriving(Clone)]
pub enum ConstantVal {
IntVal(i32),
UintVal(u32),
@@ -401,6 +402,7 @@ pub enum ConstantVal {
VoidVal
}
+#[deriving(Clone)]
pub struct ConstantSpec {
name: *libc::c_char,
value: ConstantVal
@@ -853,6 +855,7 @@ impl DerivedWrapper for AbstractNode<ScriptView> {
}
}
+#[deriving(ToStr)]
pub enum Error {
FailureUnknown
}