Struct MatchingBracketValidator

struct MatchingBracketValidator { ... }

Simple matching bracket validator.

Implementations

impl MatchingBracketValidator

fn new() -> Self

Constructor

impl Default for MatchingBracketValidator

fn default() -> MatchingBracketValidator

impl Freeze for MatchingBracketValidator

impl RefUnwindSafe for MatchingBracketValidator

impl Send for MatchingBracketValidator

impl Sync for MatchingBracketValidator

impl Unpin for MatchingBracketValidator

impl UnwindSafe for MatchingBracketValidator

impl Validator for MatchingBracketValidator

fn validate(self: &Self, ctx: &mut ValidationContext<'_>) -> Result<ValidationResult>

impl<T> Any for MatchingBracketValidator

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MatchingBracketValidator

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for MatchingBracketValidator

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for MatchingBracketValidator

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for MatchingBracketValidator

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for MatchingBracketValidator

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for MatchingBracketValidator

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>