pub enum Namespace {
Imper {
scope: ImperScopeNsId,
end_offset: usize,
},
Mod(ModScopeNsId),
MemberRef {
base_expr: ExprId,
},
GenericContext(GenericContextNsId),
Requirement(ConditionNsId),
Guarantee(ConditionNsId),
Invalid,
}
Variants
Imper
Mod(ModScopeNsId)
MemberRef
Fields
base_expr: ExprId
GenericContext(GenericContextNsId)
Requirement(ConditionNsId)
Includes the parameters of the function
Guarantee(ConditionNsId)
Includes the parameters of the function, and a magic “return_value” value
Invalid
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more