Skip to main content

parse_rust_with_array_result_model

Function parse_rust_with_array_result_model 

Source
pub fn parse_rust_with_array_result_model(
    source: &str,
    model: &str,
) -> Result<SProgram>
Expand description

Read Rust under an explicit versioned scalar vector result admission model.

The empty model retains the original array result refusals. The fresh model admits constructor tails of owned vectors of direct scalar Copy values.

ยงErrors

On unknown models, syntax errors and unsupported ownership or result proofs.