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 = "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::{animation, context, Animation, AttachHooks, Scene, Video}; 44 45trait Toggleable { 46 fn toggle(&mut self); 47} 48 49impl Toggleable for bool { 50 fn toggle(&mut self) { 51 *self = !*self; 52 } 53} 54 55#[allow(unused)] 56fn main() {}