mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
wip: fix implicit static
This commit is contained in:
parent
eeb323b742
commit
49d2055147
6 changed files with 27 additions and 27 deletions
|
|
@ -1,11 +1,7 @@
|
|||
use jack::*;
|
||||
use crate::*;
|
||||
|
||||
submod! {
|
||||
device
|
||||
event
|
||||
ports
|
||||
}
|
||||
submod! { device event ports }
|
||||
|
||||
/// A UI component that may be associated with a JACK client by the `Jack` factory.
|
||||
pub trait Device<E: Engine>: Component<E> + Process {
|
||||
|
|
@ -16,7 +12,7 @@ pub trait Device<E: Engine>: Component<E> + Process {
|
|||
}
|
||||
|
||||
/// All things that implement the required traits can be treated as `Device`.
|
||||
impl<E: Engine, W: Widget<Engine = E> + Process> Device<E> for W {}
|
||||
impl<E: Engine, W: Component<E> + Process> Device<E> for W {}
|
||||
|
||||
//impl<'a, E: Engine> Render<E> for Box<dyn Device<E> + 'a> {
|
||||
//fn render (&self, to: &mut E) -> Perhaps<E::Rendered> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue