struct TypedGlobalVariable<'a> {
module: &'a Module,
names: &'a FastHashMap<NameKey, String>,
handle: Handle<GlobalVariable>,
usage: GlobalUse,
binding: Option<&'a ResolvedBinding>,
reference: bool,
}
Fields§
§module: &'a Module
§names: &'a FastHashMap<NameKey, String>
§handle: Handle<GlobalVariable>
§usage: GlobalUse
§binding: Option<&'a ResolvedBinding>
§reference: bool
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TypedGlobalVariable<'a>
impl<'a> RefUnwindSafe for TypedGlobalVariable<'a>
impl<'a> Send for TypedGlobalVariable<'a>
impl<'a> Sync for TypedGlobalVariable<'a>
impl<'a> Unpin for TypedGlobalVariable<'a>
impl<'a> UnwindSafe for TypedGlobalVariable<'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