Skip to main content

Validator

Trait Validator 

Source
pub trait Validator<const N: usize>:
    Sized
    + Clone
    + Debug
    + Send
    + Sync
    + 'static {
    // Required methods
    fn validate<E: Into<DekeError>, A: SRobotQLike<N, E>>(
        &mut self,
        q: A,
    ) -> DekeResult<()>;
    fn validate_motion(&mut self, qs: &[SRobotQ<N>]) -> DekeResult<()>;
}

Required Methods§

Source

fn validate<E: Into<DekeError>, A: SRobotQLike<N, E>>( &mut self, q: A, ) -> DekeResult<()>

Source

fn validate_motion(&mut self, qs: &[SRobotQ<N>]) -> DekeResult<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§