melodium-engine 0.10.0

Mélodium core engine and executor implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::Value;
use melodium_common::descriptor::Identifier;

#[derive(Debug, Clone)]
pub struct Parameter {
    pub name: String,
    pub value: Value,
}

impl Parameter {
    pub fn make_use(&self, identifier: &Identifier) -> bool {
        self.value.make_use(identifier)
    }

    pub fn uses(&self) -> Vec<Identifier> {
        self.value.uses()
    }
}