pub struct DefinedSymbol {
pub name: String,
pub value: u64,
pub sect: u8,
}Expand description
Defined external nlist symbol (N_SECT | N_EXT, non-STAB).
Fields§
§name: StringExact nlist string (e.g. _kh_add).
value: u64n_value at slide 0 (preferred VA).
sect: u8Section ordinal (n_sect).
Trait Implementations§
Source§impl Clone for DefinedSymbol
impl Clone for DefinedSymbol
Source§impl Debug for DefinedSymbol
impl Debug for DefinedSymbol
impl Eq for DefinedSymbol
Source§impl PartialEq for DefinedSymbol
impl PartialEq for DefinedSymbol
impl StructuralPartialEq for DefinedSymbol
Auto Trait Implementations§
impl Freeze for DefinedSymbol
impl RefUnwindSafe for DefinedSymbol
impl Send for DefinedSymbol
impl Sync for DefinedSymbol
impl Unpin for DefinedSymbol
impl UnsafeUnpin for DefinedSymbol
impl UnwindSafe for DefinedSymbol
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.