Struct reedline::DefaultValidator
source · [−]pub struct DefaultValidator;
Expand description
A default validator which checks for mismatched quotes and brackets
Trait Implementations
sourceimpl Validator for DefaultValidator
impl Validator for DefaultValidator
sourcefn validate(&self, line: &str) -> ValidationResult
fn validate(&self, line: &str) -> ValidationResult
The action that will handle the current buffer as a line and return the corresponding validation
Auto Trait Implementations
impl RefUnwindSafe for DefaultValidator
impl Send for DefaultValidator
impl Sync for DefaultValidator
impl Unpin for DefaultValidator
impl UnwindSafe for DefaultValidator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more