pub struct Module<'a> { /* private fields */ }Expand description
Executable module information
Implementations§
Source§impl<'a> Module<'a>
impl<'a> Module<'a>
Sourcepub fn builder(
name: impl Into<Cow<'a, str>>,
uuid: impl Into<Cow<'a, str>>,
base_address: impl Into<Cow<'a, str>>,
size: f64,
) -> ModuleBuilder<'a>
pub fn builder( name: impl Into<Cow<'a, str>>, uuid: impl Into<Cow<'a, str>>, base_address: impl Into<Cow<'a, str>>, size: f64, ) -> ModuleBuilder<'a>
Creates a builder for this type with the required parameters:
name: Name of the module.uuid: UUID of the module.base_address: Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x prefixed) string.size: Size of the module in bytes.
Sourcepub fn base_address(&self) -> &str
pub fn base_address(&self) -> &str
Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x prefixed) string.
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Module<'a>
impl<'de, 'a> Deserialize<'de> for Module<'a>
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<'a> Freeze for Module<'a>
impl<'a> RefUnwindSafe for Module<'a>
impl<'a> Send for Module<'a>
impl<'a> Sync for Module<'a>
impl<'a> Unpin for Module<'a>
impl<'a> UnsafeUnpin for Module<'a>
impl<'a> UnwindSafe for Module<'a>
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