pub enum NamespaceBindingSource {
Local,
Import {
namespace: Symbol,
exported: Symbol,
},
}Expand description
Where a NamespaceEntry binding came from.
Variants§
Trait Implementations§
Source§impl Clone for NamespaceBindingSource
impl Clone for NamespaceBindingSource
Source§fn clone(&self) -> NamespaceBindingSource
fn clone(&self) -> NamespaceBindingSource
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 Debug for NamespaceBindingSource
impl Debug for NamespaceBindingSource
impl Eq for NamespaceBindingSource
Source§impl PartialEq for NamespaceBindingSource
impl PartialEq for NamespaceBindingSource
Source§fn eq(&self, other: &NamespaceBindingSource) -> bool
fn eq(&self, other: &NamespaceBindingSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NamespaceBindingSource
Auto Trait Implementations§
impl Freeze for NamespaceBindingSource
impl RefUnwindSafe for NamespaceBindingSource
impl Send for NamespaceBindingSource
impl Sync for NamespaceBindingSource
impl Unpin for NamespaceBindingSource
impl UnsafeUnpin for NamespaceBindingSource
impl UnwindSafe for NamespaceBindingSource
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