pub struct ModuleFunction {
pub module: StaticModuleIndex,
pub index: FuncIndex,
pub name: Option<String>,
pub offset: usize,
pub len: usize,
}Expand description
Describes a function for a given module.
Fields§
§module: StaticModuleIndexThe static module index this function belongs to.
index: FuncIndexThe function index within the module.
name: Option<String>The display name of the function, if available.
offset: usizeThe byte offset of this function in the text section.
len: usizeThe byte length of this function in the text section.
Auto Trait Implementations§
impl Freeze for ModuleFunction
impl RefUnwindSafe for ModuleFunction
impl Send for ModuleFunction
impl Sync for ModuleFunction
impl Unpin for ModuleFunction
impl UnsafeUnpin for ModuleFunction
impl UnwindSafe for ModuleFunction
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more