pub struct Validator<'a>(/* private fields */);Expand description
An index validator
Implementations§
Source§impl<'a> Validator<'a>
impl<'a> Validator<'a>
Sourcepub unsafe fn unchecked_index<I>(self, ident: &'a I) -> CompleteValidator<'a>
pub unsafe fn unchecked_index<I>(self, ident: &'a I) -> CompleteValidator<'a>
Sourcepub fn checked_index(self) -> CompleteValidator<'a>
pub fn checked_index(self) -> CompleteValidator<'a>
complete this index validator with an index
Auto Trait Implementations§
impl<'a> Freeze for Validator<'a>
impl<'a> RefUnwindSafe for Validator<'a>
impl<'a> Send for Validator<'a>
impl<'a> Sync for Validator<'a>
impl<'a> Unpin for Validator<'a>
impl<'a> UnsafeUnpin for Validator<'a>
impl<'a> UnwindSafe for Validator<'a>
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