diff --git a/src/object.rs b/src/object.rs index 2c3239a..78d85db 100644 --- a/src/object.rs +++ b/src/object.rs @@ -51,7 +51,7 @@ pub enum ObjectType { Any, } -#[derive(Clone, Copy, PartialEq)] +#[derive(Clone, Copy, PartialEq, Eq, std::hash::Hash)] /// Object capabilities pub enum ObjectCapability { /// Get opaque object