Skip to main content

Matcher

Trait Matcher 

Source
trait Matcher: Fn(&mut GlyphInfo, u32) -> bool { }
Expand description

Matches a glyph against a rule value in a rule walk.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<F: Fn(&mut GlyphInfo, u32) -> bool> Matcher for F