Struct wasmtime_environ::FunctionLoc
source · 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.
Trait Implementations§
source§impl Clone for FunctionLoc
impl Clone for FunctionLoc
source§fn clone(&self) -> FunctionLoc
fn clone(&self) -> FunctionLoc
Returns a copy 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<'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 Serialize for FunctionLoc
impl Serialize for FunctionLoc
impl Copy 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