Trait tyche::expr::Describe

source ·
pub trait Describe {
    // Required method
    fn describe(&self, list_limit: Option<usize>) -> String;
}
Expand description

Trait to allow creation of expanded descriptions with an optional max number of individual listed results where applicable

Required Methods§

source

fn describe(&self, list_limit: Option<usize>) -> String

Builds a detailed expression string with additional information about non-deterministic elements. Any elements of the expression that can have a different result between multiple evaluations or multiple results should list all of the specific individual results that occurred (ideally, up to list_limit of them).

Implementors§