pub struct Extent {
pub name: String,
pub start: usize,
pub len: usize,
}Expand description
Where one function ended up.
How long a function is is a fact ELF records and Mach-O has no way to, so it is handed over rather than worked out again: the writer that wants it has it and the one that does not ignores it.
Fields§
§name: StringThe function’s name, as the C program spelled it. The underscore an Apple symbol carries is the object writer’s business, not this one’s.
start: usizeWhere its first instruction is.
len: usizeHow many bytes of instructions it is, not counting the padding in front of the next one.
Trait Implementations§
impl Eq for Extent
impl StructuralPartialEq for Extent
Auto Trait Implementations§
impl Freeze for Extent
impl RefUnwindSafe for Extent
impl Send for Extent
impl Sync for Extent
impl Unpin for Extent
impl UnsafeUnpin for Extent
impl UnwindSafe for Extent
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.