Struct reedline::DefaultValidator
source · pub struct DefaultValidator;
Expand description
A default validator which checks for mismatched quotes and brackets
Trait Implementations§
source§impl Validator for DefaultValidator
impl Validator for DefaultValidator
source§fn 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 Freeze for DefaultValidator
impl RefUnwindSafe for DefaultValidator
impl Send for DefaultValidator
impl Sync for DefaultValidator
impl Unpin for DefaultValidator
impl UnwindSafe for DefaultValidator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more