wip: use only Dsl trait
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
🪞👃🪞 2025-05-19 00:06:31 +03:00
parent 99d9da6ffd
commit fc038dbd97
10 changed files with 71 additions and 89 deletions

View file

@ -9,7 +9,7 @@ pub(crate) use std::sync::{Arc, atomic::{AtomicUsize, AtomicBool, Ordering::Rela
pub(crate) use std::fmt::Debug;
pub(crate) use std::ops::{Add, Sub, Mul, Div, Rem};
pub(crate) use ::tengri::{from, Usually, Perhaps, Has, has, maybe_has, tui::*};
pub(crate) use ::tengri::{from, Usually, Perhaps, Has, has, maybe_has, tui::*, dsl::*};
pub use ::atomic_float; pub(crate) use atomic_float::*;

View file

@ -8,6 +8,7 @@ impl JackMidiIn {
#[tengri_proc::command(JackMidiIn)]
impl MidiInputCommand {
fn _todo_ (_port: &mut JackMidiIn) -> Perhaps<Self> { Ok(None) }
}
impl<T: Has<Vec<JackMidiIn>>> HasMidiIns for T {

View file

@ -148,6 +148,7 @@ impl JackPortAutoconnect for JackMidiOut {
#[tengri_proc::command(JackMidiOut)]
impl MidiOutputCommand {
fn _todo_ (_port: &mut JackMidiOut) -> Perhaps<Self> { Ok(None) }
}
impl<T: Has<Vec<JackMidiOut>>> HasMidiOuts for T {