pub mod auto_layout;
#[cfg(not(target_os = "ios"))]
pub mod editor;
pub mod font;
pub mod param_cache;
pub mod param_message;
#[cfg(not(target_os = "ios"))]
pub mod platform;
#[cfg(not(target_os = "ios"))]
mod screenshot;
pub mod theme;
pub mod widgets;
#[cfg(target_os = "ios")]
mod editor_ios;
#[cfg(not(target_os = "ios"))]
pub use editor::{AutoPlugin, IcedEditor, IcedPlugin};
#[cfg(target_os = "ios")]
pub use editor_ios::{AutoPlugin, IcedEditor, IcedPlugin};
pub use param_cache::ParamCache;
pub use param_message::{Message, ParamMessage};
pub use truce_core::editor::PluginContext;
pub use widgets::{
knob, meter, param_dropdown, param_selector, param_slider, param_toggle, xy_pad,
};
use iced::Element;
use std::fmt::Debug;
pub trait IntoElement<'a, M: Clone + Debug + 'static> {
fn el(self) -> Element<'a, Message<M>>;
}
impl<'a, M: Clone + Debug + 'static, T: Into<Element<'a, Message<M>>>> IntoElement<'a, M> for T {
fn el(self) -> Element<'a, Message<M>> {
self.into()
}
}