pub enum SymbolNamespace {
Value,
Type,
Both,
}Expand description
Namespace in which a binding or occurrence participates.
Variants§
Trait Implementations§
Source§impl Clone for SymbolNamespace
impl Clone for SymbolNamespace
Source§fn clone(&self) -> SymbolNamespace
fn clone(&self) -> SymbolNamespace
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 moreimpl Copy for SymbolNamespace
Source§impl Debug for SymbolNamespace
impl Debug for SymbolNamespace
Source§impl<'de> Deserialize<'de> for SymbolNamespace
impl<'de> Deserialize<'de> for SymbolNamespace
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SymbolNamespace, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SymbolNamespace, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SymbolNamespace
Source§impl Hash for SymbolNamespace
impl Hash for SymbolNamespace
Source§impl Ord for SymbolNamespace
impl Ord for SymbolNamespace
Source§fn cmp(&self, other: &SymbolNamespace) -> Ordering
fn cmp(&self, other: &SymbolNamespace) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SymbolNamespace
impl PartialEq for SymbolNamespace
Source§impl PartialOrd for SymbolNamespace
impl PartialOrd for SymbolNamespace
Source§impl Serialize for SymbolNamespace
impl Serialize for SymbolNamespace
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SymbolNamespace
Auto Trait Implementations§
impl Freeze for SymbolNamespace
impl RefUnwindSafe for SymbolNamespace
impl Send for SymbolNamespace
impl Sync for SymbolNamespace
impl Unpin for SymbolNamespace
impl UnsafeUnpin for SymbolNamespace
impl UnwindSafe for SymbolNamespace
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