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;
22pub mod video;
23
24#[cfg(feature = "web")]
25pub mod wasm;
26
27#[cfg(feature = "vst")]
28pub mod vst;
29
30pub use geometry::{Angle, Axis, Containable, Point, Region};
31pub use graphics::{
32 Canvas, Color, Color::*, ColorMapping, ColoredObject, Fill, FillOperations,
33 Filter, FilterType, Layer, LineSegment, Object, Object::*, ObjectSizes,
34 Transformation,
35};
36pub use rendering::{
37 CSSRenderable, SVGAttributesRenderable, SVGRenderable, fonts,
38};
39pub use synchronization::audio::MusicalDurationUnit::*;
40pub use video::{
41 Animation, AttachHooks, Scene, Timestamp, Video, animation, context,
42};
43
44trait Toggleable {
45 fn toggle(&mut self);
46}
47
48impl Toggleable for bool {
49 fn toggle(&mut self) {
50 *self = !*self;
51 }
52}
53
54#[allow(unused)]
55fn main() {}