pub struct FunctionName {
pub idx: FuncIndex,
pub offset: u32,
pub len: u32,
}
Expand description
The name of a function stored in the
ELF_NAME_DATA
section.
Fields§
§idx: FuncIndex
The Wasm function index of this function.
offset: u32
The offset of the name in the
ELF_NAME_DATA
section.
len: u32
The length of the name in bytes.
Trait Implementations§
source§impl<'de> Deserialize<'de> for FunctionName
impl<'de> Deserialize<'de> for FunctionName
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
Auto Trait Implementations§
impl Freeze for FunctionName
impl RefUnwindSafe for FunctionName
impl Send for FunctionName
impl Sync for FunctionName
impl Unpin for FunctionName
impl UnwindSafe for FunctionName
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