pub enum ContentModelMatcher {
Nfa(NfaTable),
AllGroup(AllGroupModel),
WithOpenContent {
nfa: NfaTable,
mode: OpenContentMode,
wildcard: Option<WildcardRef>,
},
AllGroupExtension {
base_model: AllGroupModel,
extension_nfa: NfaTable,
},
}Expand description
Strategy for matching compiled content models.
Variants§
Nfa(NfaTable)
Standard NFA-based content model.
AllGroup(AllGroupModel)
All-group content model.
WithOpenContent
NFA content model with open content wildcard.
AllGroupExtension
All-group base + NFA extension (XSD 1.1 complex type extension).
Trait Implementations§
Source§impl Clone for ContentModelMatcher
impl Clone for ContentModelMatcher
Source§fn clone(&self) -> ContentModelMatcher
fn clone(&self) -> ContentModelMatcher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContentModelMatcher
impl RefUnwindSafe for ContentModelMatcher
impl Send for ContentModelMatcher
impl Sync for ContentModelMatcher
impl Unpin for ContentModelMatcher
impl UnsafeUnpin for ContentModelMatcher
impl UnwindSafe for ContentModelMatcher
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