pub struct Name {
pub name: String,
pub at: Held,
pub size: u64,
pub sort: Sort,
pub binding: Binding,
pub visibility: Visibility,
}Expand description
One name in the symbol table, as a file of assembly defines one.
Fields§
§name: StringThe name, spelled as the source spelled it.
at: HeldWhere it is.
size: u64How long the thing it names is, which is what .size said and is zero when nothing did.
sort: SortWhat kind of thing it names, which is what .type said.
binding: BindingWho can see it.
visibility: VisibilityHow far outside a shared library it reaches.
Trait Implementations§
impl Eq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnsafeUnpin for Name
impl UnwindSafe for Name
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.