pub struct MatchEngine { /* private fields */ }Expand description
Compiled matching engine.
Implementations§
Source§impl MatchEngine
impl MatchEngine
Sourcepub fn compile(patterns: Vec<PatternDef>) -> Result<Self, MatchError>
pub fn compile(patterns: Vec<PatternDef>) -> Result<Self, MatchError>
Compile patterns into an engine.
Auto Trait Implementations§
impl Freeze for MatchEngine
impl RefUnwindSafe for MatchEngine
impl Send for MatchEngine
impl Sync for MatchEngine
impl Unpin for MatchEngine
impl UnsafeUnpin for MatchEngine
impl UnwindSafe for MatchEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more