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 = "cli")]
10 features.push("cli");
11 #[cfg(feature = "web")]
12 features.push("web");
13 #[cfg(feature = "video-server")]
14 features.push("video-server");
15 features
16}
17
18#[cfg(feature = "cli")]
19pub mod cli;
20pub mod geometry;
21pub mod graphics;
22pub mod random;
23pub mod rendering;
24pub mod synchronization;
25pub mod ui;
26pub mod video;
27
28#[cfg(feature = "web")]
29pub mod wasm;
30
31#[cfg(feature = "vst")]
32pub mod vst;
33
34pub use geometry::{Angle, Axis, Containable, Point, Region};
35pub use graphics::{
36 Canvas, Color, Color::*, ColorMapping, ColoredObject, Fill, FillOperations,
37 Filter, FilterType, Layer, LineSegment, Object, Object::*, ObjectSizes,
38 Transformation,
39};
40pub use rendering::{
41 fonts, CSSRenderable, SVGAttributesRenderable, SVGRenderable,
42};
43pub use video::{
44 animation, context, Animation, AttachHooks, Scene, Timestamp, Video,
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() {}