This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

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