pub enum DefaultBinding {
Element {
key: ElementKey,
resolved_type: Option<TypeKey>,
},
Strict,
Lax,
Skip,
}Expand description
Default binding tracked for a QName in a content model.
Variants§
Element
A local element declaration governs this QName. The element key may be the head of a substitution group when the binding was reached through substitution propagation.
Fields
§
key: ElementKeyStrict
A wildcard with processContents = strict covers this binding.
Lax
A wildcard with processContents = lax.
Skip
A wildcard with processContents = skip.
Trait Implementations§
Source§impl Clone for DefaultBinding
impl Clone for DefaultBinding
Source§fn clone(&self) -> DefaultBinding
fn clone(&self) -> DefaultBinding
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 DefaultBinding
Auto Trait Implementations§
impl Freeze for DefaultBinding
impl RefUnwindSafe for DefaultBinding
impl Send for DefaultBinding
impl Sync for DefaultBinding
impl Unpin for DefaultBinding
impl UnsafeUnpin for DefaultBinding
impl UnwindSafe for DefaultBinding
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