pub async fn execute_and_snapshot(
code: &str,
units: UnitLength,
) -> Result<DynamicImage>
Expand description
Executes a kcl program and takes a snapshot of the result. This returns the bytes of the snapshot.
pub async fn execute_and_snapshot(
code: &str,
units: UnitLength,
) -> Result<DynamicImage>
Executes a kcl program and takes a snapshot of the result. This returns the bytes of the snapshot.