pub enum ContentMatcher {
Dfa(Arc<Dfa>),
All,
None,
}Expand description
What a ComplexType uses to validate
its content at runtime. The Builder picks one based on the
content-model shape.
Variants§
Dfa(Arc<Dfa>)
DFA-driven matching for sequence/choice/element/wildcard models.
All
Particle-walk matching for xs:all (the runtime tracks a
bitset of consumed particles).
None
Empty or simple-content type — no matcher needed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContentMatcher
impl RefUnwindSafe for ContentMatcher
impl Send for ContentMatcher
impl Sync for ContentMatcher
impl Unpin for ContentMatcher
impl UnsafeUnpin for ContentMatcher
impl UnwindSafe for ContentMatcher
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