pub enum NamespaceConstraint<NamespaceUrl> {
Any,
Specific(NamespaceUrl),
}Variants§
Trait Implementations§
Source§impl<NamespaceUrl: Clone> Clone for NamespaceConstraint<NamespaceUrl>
impl<NamespaceUrl: Clone> Clone for NamespaceConstraint<NamespaceUrl>
Source§fn clone(&self) -> NamespaceConstraint<NamespaceUrl>
fn clone(&self) -> NamespaceConstraint<NamespaceUrl>
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<NamespaceUrl: PartialEq> PartialEq for NamespaceConstraint<NamespaceUrl>
impl<NamespaceUrl: PartialEq> PartialEq for NamespaceConstraint<NamespaceUrl>
Source§fn eq(&self, other: &NamespaceConstraint<NamespaceUrl>) -> bool
fn eq(&self, other: &NamespaceConstraint<NamespaceUrl>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<NamespaceUrl> ToShmem for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: ToShmem,
impl<NamespaceUrl> ToShmem for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: ToShmem,
impl<NamespaceUrl: Eq> Eq for NamespaceConstraint<NamespaceUrl>
impl<NamespaceUrl> StructuralPartialEq for NamespaceConstraint<NamespaceUrl>
Auto Trait Implementations§
impl<NamespaceUrl> Freeze for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: Freeze,
impl<NamespaceUrl> RefUnwindSafe for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: RefUnwindSafe,
impl<NamespaceUrl> Send for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: Send,
impl<NamespaceUrl> Sync for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: Sync,
impl<NamespaceUrl> Unpin for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: Unpin,
impl<NamespaceUrl> UnsafeUnpin for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: UnsafeUnpin,
impl<NamespaceUrl> UnwindSafe for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.