Skip to main content

declare_unknowns

Function declare_unknowns 

Source
pub fn declare_unknowns<Args>(
    ctx: &mut StepContext<'_>,
    args: &Args,
    generator: fn(&Reader<'_>, &Args) -> Result<Vec<Unknown>, GeopError>,
) -> Result<(), GeopError>
where Args: PartialEq + Clone + Debug + 'static,
Expand description

Declares the unknowns generator makes of args in the step being run, of the part’s Unknowns: of several declarations of one state, one that holds it fixed wins, and otherwise the first made. A plain function, like a make (Make).