Skip to main content

parse

Function parse 

Source
pub fn parse<S: DeserializeOwned, P: DeserializeOwned>(
    file: &str,
    source: &str,
) -> Result<CinematicFile<S, P>, ContentError>
Expand description

Reads cinematic source (errors attributed to file) without checking it: a game whose shots share actions makes its ShotCheck from them, then calls check.

§Errors

When source isn’t such a file, with the place.