pub struct ContentModelNfa { /* private fields */ }Expand description
Incremental content-model matcher stored in _xmlElement.cont_model.
The candidate’s regex engine matches character-by-character, which does not model upstream’s whole-name content-model tokens, so the content model is compiled into a dedicated small NFA over full element names. Upstream builds the same automaton (xmlValidBuildAContentModel) and then converts it with xmlRegFromAutomata; the observable push/pop contract is identical (per-push “Misplaced” errors, completion checks on pop).
Auto Trait Implementations§
impl !Send for ContentModelNfa
impl !Sync for ContentModelNfa
impl Freeze for ContentModelNfa
impl RefUnwindSafe for ContentModelNfa
impl Unpin for ContentModelNfa
impl UnsafeUnpin for ContentModelNfa
impl UnwindSafe for ContentModelNfa
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