pub enum CustomMetaNamespace {
Id(NamespaceId),
Namespace(Namespace),
}Expand description
Namespace information for a custom defined type.
Variants§
Id(NamespaceId)
A namespace that is identified by its id.
Namespace(Namespace)
A namespace that is identified by the namespace information itself.
Trait Implementations§
Source§impl Clone for CustomMetaNamespace
impl Clone for CustomMetaNamespace
Source§fn clone(&self) -> CustomMetaNamespace
fn clone(&self) -> CustomMetaNamespace
Returns a duplicate 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 Debug for CustomMetaNamespace
impl Debug for CustomMetaNamespace
Source§impl From<Namespace> for CustomMetaNamespace
impl From<Namespace> for CustomMetaNamespace
Source§impl From<NamespaceId> for CustomMetaNamespace
impl From<NamespaceId> for CustomMetaNamespace
Source§fn from(value: NamespaceId) -> Self
fn from(value: NamespaceId) -> Self
Converts to this type from the input type.
Source§impl Hash for CustomMetaNamespace
impl Hash for CustomMetaNamespace
Source§impl PartialEq for CustomMetaNamespace
impl PartialEq for CustomMetaNamespace
impl Eq for CustomMetaNamespace
impl StructuralPartialEq for CustomMetaNamespace
Auto Trait Implementations§
impl Freeze for CustomMetaNamespace
impl RefUnwindSafe for CustomMetaNamespace
impl Send for CustomMetaNamespace
impl Sync for CustomMetaNamespace
impl Unpin for CustomMetaNamespace
impl UnsafeUnpin for CustomMetaNamespace
impl UnwindSafe for CustomMetaNamespace
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§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.