pub struct Symbol {
pub name: String,
pub section: usize,
pub offset: u64,
pub size: u64,
pub global: bool,
}Expand description
A symbol definition.
Fields§
§name: StringPublic API for name.
section: usizeIndex of the section this symbol lives in.
offset: u64Byte offset within that section.
size: u64Public API for size.
global: boolPublic API for global.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
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