pub enum NamespaceConstraint {
Any,
Other,
TargetNamespace,
Local,
List(Vec<Option<NameId>>),
Not(Vec<Option<NameId>>),
}Expand description
Namespace constraint for wildcards
Variants§
Any
Any namespace (##any)
Other
Other namespaces (##other)
TargetNamespace
Target namespace (##targetNamespace)
Local
Local elements only (##local)
List(Vec<Option<NameId>>)
Specific namespaces
Not(Vec<Option<NameId>>)
XSD 1.1: Not these namespaces (notNamespace)
Implementations§
Trait Implementations§
Source§impl Clone for NamespaceConstraint
impl Clone for NamespaceConstraint
Source§fn clone(&self) -> NamespaceConstraint
fn clone(&self) -> NamespaceConstraint
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 moreSource§impl Debug for NamespaceConstraint
impl Debug for NamespaceConstraint
Source§impl Default for NamespaceConstraint
impl Default for NamespaceConstraint
Source§fn default() -> NamespaceConstraint
fn default() -> NamespaceConstraint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NamespaceConstraint
impl RefUnwindSafe for NamespaceConstraint
impl Send for NamespaceConstraint
impl Sync for NamespaceConstraint
impl Unpin for NamespaceConstraint
impl UnsafeUnpin for NamespaceConstraint
impl UnwindSafe for NamespaceConstraint
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