pub enum NamespaceConstraint {
Any,
Other,
List(Vec<Option<Arc<str>>>),
}Variants§
Any
namespace="##any".
Other
namespace="##other" — any namespace except the schema’s
target namespace and the no-namespace.
List(Vec<Option<Arc<str>>>)
Explicit list. None entries mean the no-namespace
(##local). ##targetNamespace is resolved at compile time.
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 moreAuto 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