Struct rustyline::validate::MatchingBracketValidator[][src]

pub struct MatchingBracketValidator { /* fields omitted */ }
Expand description

Simple matching bracket validator.

Implementations

Constructor

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.