pub struct GlobalDecl<'a> {
pub kind: GlobalDeclKind<'a>,
pub dependencies: FastIndexSet<Dependency<'a>>,
}
Expand description
A module-scope declaration.
Fields§
§kind: GlobalDeclKind<'a>
§dependencies: FastIndexSet<Dependency<'a>>
Names of all module-scope or predeclared objects this declaration uses.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GlobalDecl<'a>
impl<'a> RefUnwindSafe for GlobalDecl<'a>
impl<'a> Send for GlobalDecl<'a>
impl<'a> Sync for GlobalDecl<'a>
impl<'a> Unpin for GlobalDecl<'a>
impl<'a> UnwindSafe for GlobalDecl<'a>
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