Trait Rule

Source
pub trait Rule<'a, S: SchemaDefinition>: Visitor<'a, S> + IntoIterator<Item = Self::Error> {
    type Error;

    // Required method
    fn new(schema_definition: &'a S) -> Self;
}

Required Associated Types§

Required Methods§

Source

fn new(schema_definition: &'a S) -> Self

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§

Source§

impl<'a, S: SchemaDefinition + 'a> Rule<'a, S> for BuiltinRules<'a, S>

Source§

type Error = Error<'a, S>