pub struct ValidatorAnd<A, B>(pub A, pub B);Tuple Fields§
§0: A§1: BTrait Implementations§
Source§impl<A: Clone, B: Clone> Clone for ValidatorAnd<A, B>
impl<A: Clone, B: Clone> Clone for ValidatorAnd<A, B>
Source§fn clone(&self) -> ValidatorAnd<A, B>
fn clone(&self) -> ValidatorAnd<A, B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const N: usize, A, B> Validator<N> for ValidatorAnd<A, B>
impl<const N: usize, A, B> Validator<N> for ValidatorAnd<A, B>
type Context<'ctx> = (<A as Validator<N>>::Context<'ctx>, <B as Validator<N>>::Context<'ctx>)
fn validate<'ctx, E: Into<DekeError>, Q: SRobotQLike<N, E>>( &self, q: Q, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<N>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Auto Trait Implementations§
impl<A, B> Freeze for ValidatorAnd<A, B>
impl<A, B> RefUnwindSafe for ValidatorAnd<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for ValidatorAnd<A, B>
impl<A, B> Sync for ValidatorAnd<A, B>
impl<A, B> Unpin for ValidatorAnd<A, B>
impl<A, B> UnsafeUnpin for ValidatorAnd<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for ValidatorAnd<A, B>where
A: UnwindSafe,
B: 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