Add Debug implementations for ParamUnits
This commit is contained in:
parent
db1401cccd
commit
8d6a7ae861
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ use vst3_sys::vst::kRootUnitId;
|
||||||
/// units accordingly.
|
/// units accordingly.
|
||||||
///
|
///
|
||||||
/// <https://steinbergmedia.github.io/vst3_doc/vstinterfaces/classSteinberg_1_1Vst_1_1IUnitInfo.html>
|
/// <https://steinbergmedia.github.io/vst3_doc/vstinterfaces/classSteinberg_1_1Vst_1_1IUnitInfo.html>
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct ParamUnits {
|
pub struct ParamUnits {
|
||||||
/// The unique units, with flat indices.
|
/// The unique units, with flat indices.
|
||||||
units: Vec<ParamUnit>,
|
units: Vec<ParamUnit>,
|
||||||
|
@ -30,6 +31,7 @@ pub struct ParamUnits {
|
||||||
/// A VST3 'unit'. Repurposed for a bunch of things, but we only care about parameter hierarchies.
|
/// A VST3 'unit'. Repurposed for a bunch of things, but we only care about parameter hierarchies.
|
||||||
///
|
///
|
||||||
/// <https://steinbergmedia.github.io/vst3_doc/vstinterfaces/structSteinberg_1_1Vst_1_1UnitInfo.html>
|
/// <https://steinbergmedia.github.io/vst3_doc/vstinterfaces/structSteinberg_1_1Vst_1_1UnitInfo.html>
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct ParamUnit {
|
pub struct ParamUnit {
|
||||||
/// The name of the unit, without any of the proceeding components.
|
/// The name of the unit, without any of the proceeding components.
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
Loading…
Add table
Reference in a new issue