pub struct Globals {
pub vars: Vec<Variable>,
}Expand description
Every variable a module defines, laid out.
Fields§
§vars: Vec<Variable>One entry per definition, in the order the module held them. A declaration is not here, because a file says nothing about a variable another file defines beyond the references that name it, and those are already in the text.
Implementations§
Trait Implementations§
impl Eq for Globals
impl StructuralPartialEq for Globals
Auto Trait Implementations§
impl Freeze for Globals
impl RefUnwindSafe for Globals
impl Send for Globals
impl Sync for Globals
impl Unpin for Globals
impl UnsafeUnpin for Globals
impl UnwindSafe for Globals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.