Make parameter pointers hashable
So we can use have generic APIs that take a `Param` implementation and know how to map those to the parameter IDs used by the plugin API.
This commit is contained in:
parent
e97082aba2
commit
640fe0ebd7
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pub trait Params {
|
|||
}
|
||||
|
||||
/// Internal pointers to parameters. This is an implementation detail used by the wrappers.
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)]
|
||||
pub enum ParamPtr {
|
||||
FloatParam(*mut super::FloatParam),
|
||||
IntParam(*mut super::IntParam),
|
||||
|
|
Loading…
Add table
Reference in a new issue