FlawlessRule

Trait FlawlessRule 

Source
pub trait FlawlessRule {
    // Required method
    fn flawless_process(&self, block: &mut Block, context: &Context<'_, '_, '_>);
}
Expand description

A trait for rules that are guaranteed to succeed without errors.

Rules implementing this trait can be automatically converted to the Rule trait with error handling.

Required Methods§

Source

fn flawless_process(&self, block: &mut Block, context: &Context<'_, '_, '_>)

Processes the block without the possibility of failure.

Implementors§