pub struct ValidatorNot<A>(pub A);Tuple Fields§
§0: AImplementations§
Source§impl<A> ValidatorNot<A>
impl<A> ValidatorNot<A>
Trait Implementations§
Source§impl<A: Clone> Clone for ValidatorNot<A>
impl<A: Clone> Clone for ValidatorNot<A>
Source§fn clone(&self) -> ValidatorNot<A>
fn clone(&self) -> ValidatorNot<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A: Debug> Debug for ValidatorNot<A>
impl<A: Debug> Debug for ValidatorNot<A>
Source§impl<const N: usize, F: FKScalar, A> Validator<N, (), F> for ValidatorNot<A>
Not is only meaningful for R = () (a pass/fail validator). For
scalar-returning validators the inversion of the return value isn’t
well-defined, so the impl is restricted to the unit case.
impl<const N: usize, F: FKScalar, A> Validator<N, (), F> for ValidatorNot<A>
Not is only meaningful for R = () (a pass/fail validator). For
scalar-returning validators the inversion of the return value isn’t
well-defined, so the impl is restricted to the unit case.
type Context<'ctx> = <A as Validator<N, (), F>>::Context<'ctx>
fn validate<'ctx, E: Into<DekeError>, Q: SRobotQLike<N, E, F>>( &self, q: Q, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Auto Trait Implementations§
impl<A> Freeze for ValidatorNot<A>where
A: Freeze,
impl<A> RefUnwindSafe for ValidatorNot<A>where
A: RefUnwindSafe,
impl<A> Send for ValidatorNot<A>where
A: Send,
impl<A> Sync for ValidatorNot<A>where
A: Sync,
impl<A> Unpin for ValidatorNot<A>where
A: Unpin,
impl<A> UnsafeUnpin for ValidatorNot<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ValidatorNot<A>where
A: UnwindSafe,
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