pub struct ElementMatchInfo {
pub element_key: Option<ElementKey>,
pub resolved_type: Option<TypeKey>,
pub process_contents: Option<ProcessContents>,
}Expand description
Information about a matched element from the content model
Fields§
§element_key: Option<ElementKey>The element key from the matching NFA term (if any)
resolved_type: Option<TypeKey>The resolved type for local elements (if any)
process_contents: Option<ProcessContents>Process contents mode from open content wildcard (if matched via open content)
Trait Implementations§
Source§impl Clone for ElementMatchInfo
impl Clone for ElementMatchInfo
Source§fn clone(&self) -> ElementMatchInfo
fn clone(&self) -> ElementMatchInfo
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 moreimpl Copy for ElementMatchInfo
Auto Trait Implementations§
impl Freeze for ElementMatchInfo
impl RefUnwindSafe for ElementMatchInfo
impl Send for ElementMatchInfo
impl Sync for ElementMatchInfo
impl Unpin for ElementMatchInfo
impl UnsafeUnpin for ElementMatchInfo
impl UnwindSafe for ElementMatchInfo
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