Enum selectors::attr::NamespaceConstraint
source · 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 copy of the value. Read more
1.0.0 · 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
This method 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> 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