#[non_exhaustive]pub enum BindingReach {
Scope,
Importers,
}Expand description
Who can look up the name an ImportSite binds.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Scope
Code in the site’s scope, as with an import.
Importers
Only modules importing the site’s module, as with a re-export.
Trait Implementations§
Source§impl Clone for BindingReach
impl Clone for BindingReach
impl Copy for BindingReach
Source§impl Debug for BindingReach
impl Debug for BindingReach
impl Eq for BindingReach
Source§impl PartialEq for BindingReach
impl PartialEq for BindingReach
impl StructuralPartialEq for BindingReach
Auto Trait Implementations§
impl Forget for BindingReach
impl Freeze for BindingReach
impl RefUnwindSafe for BindingReach
impl Send for BindingReach
impl Sync for BindingReach
impl Unpin for BindingReach
impl UnsafeUnpin for BindingReach
impl UnwindSafe for BindingReach
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