[−][src]Function sixtyfps_build::compile
pub fn compile(path: impl AsRef<Path>) -> Result<(), CompileError>
Compile the .60
file and generate rust code for it.
The path is relative to the CARGO_MANIFEST_DIR
.
The following line need to be added within your crate to include the generated code.
ⓘThis example is not tested
sixtyfps::include_modules!();