Skip to main content

AltCondition

Type Alias AltCondition 

Source
pub type AltCondition = Arc<dyn Fn(&mut Rule, &mut Context) -> bool + Send + Sync>;
Expand description

Function-valued alternate condition. The candidate’s matched tokens have already been copied onto rule when this callback runs.

Aliased Type§

pub struct AltCondition { /* private fields */ }