Skip to main content

drawn_from

Function drawn_from 

Source
pub fn drawn_from(
    deck: &Path,
    served: &ServedFolder,
    designs: &Designs,
    modules: &Modules,
) -> Vec<PathBuf>
Expand description

Every file a slide of the deck at deck is drawn from, in path order: the deck’s file, its slides, what each slide embeds — an image, a design and everything designs resolved it from, a font folder it listed among them, another deck’s slide PNG and that deck’s files in turn — and the deck’s widgets folder with every widget in it and every module they import. Each folder itself is among them: a font added to a design’s font folder changes the design, and a widget added, renamed or removed changes which tags on a slide are widgets. An embedded file that isn’t there yet is named as it would be, so its arrival reaches the deck. A link a slide only points at is not what it is drawn from. A deck that can’t be loaded is drawn from its file.