Skip to main content

convert_str

Function convert_str 

Source
pub fn convert_str(
    text: &str,
    to: TargetFormat,
    format: &str,
) -> Result<Conversion>
Expand description

Convert in-memory case text of the named format (see target_format_from_name) to to.

Parses text once and writes the resulting BalancedNetwork to to without a temporary file. Warnings are ordered read side first, as in convert_file.

ยงErrors

As parse_str.