pub struct FunctionLoc {
pub start: u32,
pub length: u32,
}
Expand description
Description of where a function is located in the text section of a compiled image.
Fields§
§start: u32
The byte offset from the start of the text section where this function starts.
length: u32
The byte length of this function’s function body.
Implementations§
Trait Implementations§
Source§impl Clone for FunctionLoc
impl Clone for FunctionLoc
Source§fn clone(&self) -> FunctionLoc
fn clone(&self) -> FunctionLoc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionLoc
impl Debug for FunctionLoc
Source§impl<'de> Deserialize<'de> for FunctionLoc
impl<'de> Deserialize<'de> for FunctionLoc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionLoc
impl PartialEq for FunctionLoc
Source§impl Serialize for FunctionLoc
impl Serialize for FunctionLoc
impl Copy for FunctionLoc
impl Eq for FunctionLoc
impl StructuralPartialEq for FunctionLoc
Auto Trait Implementations§
impl Freeze for FunctionLoc
impl RefUnwindSafe for FunctionLoc
impl Send for FunctionLoc
impl Sync for FunctionLoc
impl Unpin for FunctionLoc
impl UnwindSafe for FunctionLoc
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.