Struct rustyline::validate::MatchingBracketValidator [−][src]
pub struct MatchingBracketValidator { /* fields omitted */ }
Expand description
Simple matching bracket validator.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Takes the currently edited input
and returns a
ValidationResult
indicating whether it is valid or not along
with an option message to display about the result. The most
common validity check to implement is probably whether the
input is complete or not, for instance ensuring that all
delimiters are fully balanced. Read more
Configure whether validation is performed while typing or only when user presses the Enter key. Read more