and it once again compiles

This commit is contained in:
🪞👃🪞 2024-08-09 21:59:14 +03:00
parent 6dd4caeb42
commit 430c51e305
31 changed files with 466 additions and 694 deletions

View file

@ -1,8 +1,8 @@
//! Handling JACK ports.
use super::*;
#[derive(Default)]
/// Collection of JACK ports as [AudioIn]/[AudioOut]/[MidiIn]/[MidiOut].
#[derive(Default, Debug)]
pub struct JackPorts {
pub audio_ins: BTreeMap<String, Port<AudioIn>>,
pub midi_ins: BTreeMap<String, Port<MidiIn>>,
@ -10,9 +10,8 @@ pub struct JackPorts {
pub midi_outs: BTreeMap<String, Port<MidiOut>>,
}
#[derive(Default)]
/// Collection of JACK ports as [Unowned].
#[derive(Debug)]
#[derive(Default, Debug)]
pub struct UnownedJackPorts {
pub audio_ins: BTreeMap<String, Port<Unowned>>,
pub midi_ins: BTreeMap<String, Port<Unowned>>,