This repository has no description
1#![allow(uncommon_codepoints)]
2
3pub fn enabled_features() -> Vec<&'static str> {
4 let mut features = vec![];
5 #[cfg(feature = "vst")]
6 features.push("vst");
7 #[cfg(feature = "video")]
8 features.push("video");
9 #[cfg(feature = "web")]
10 features.push("web");
11 #[cfg(feature = "video-server")]
12 features.push("video-server");
13 features
14}
15
16pub mod geometry;
17pub mod graphics;
18pub mod random;
19pub mod rendering;
20pub mod synchronization;
21pub mod ui;
22
23#[cfg(feature = "web")]
24pub mod wasm;
25
26#[cfg(feature = "vst")]
27pub mod vst;
28
29pub use geometry::{Angle, Axis, Containable, Point, Region};
30pub use graphics::{
31 Canvas, Color, Color::*, ColorMapping, ColoredObject, Fill, FillOperations,
32 Filter, FilterType, Layer, LineSegment, Object, Object::*, ObjectSizes,
33 Transformation,
34};
35pub use rendering::{
36 CSSRenderable, SVGAttributesRenderable, SVGRenderable, fonts,
37};
38pub use synchronization::audio::MusicalDurationUnit::*;
39
40#[cfg(feature = "video")]
41pub mod video;
42#[cfg(feature = "video")]
43pub use video::{
44 Animation, AttachHooks, Scene, Timestamp, Video, animation, context,
45};
46
47trait Toggleable {
48 fn toggle(&mut self);
49}
50
51impl Toggleable for bool {
52 fn toggle(&mut self) {
53 *self = !*self;
54 }
55}
56
57#[allow(unused)]
58fn main() {}