Skip to main content

rse_to_eng

Function rse_to_eng 

Source
pub fn rse_to_eng(file: &RseFile) -> Result<Converted<EngFile>, MotorError>
Expand description

A .rse file as a .eng file, with what .eng can’t hold named in the warnings.

§Errors

MotorError::Inconsistent for an engine without delays it can read (none, or none DelayList::parse finds), which a .eng header must give, or a hybrid, which a .eng file couldn’t say it is; MotorError::Domain for a mass that has no value in kg (see the module’s docs).