Skip to main content

Styles

Type Alias Styles 

Source
pub type Styles = Rc<dyn Fn(&str) -> Result<String, String>>;
Expand description

Where view(spec, "name") finds the script that draws in style name: the host’s own (the command line reads name.js beside the profile, the web page its presets). Err says why there is none.

Aliased Type§

pub struct Styles { /* private fields */ }