pub struct Segment {
pub proxy_base: ModuleHandle,
pub address: u32,
pub size: u32,
}
Expand description
Represents a memory segment in a module.
Fields§
§proxy_base: ModuleHandle
Base address of the proxy module.
address: u32
Virtual address of the segment.
size: u32
Size of the segment in bytes.
Implementations§
Trait Implementations§
Source§impl Ord for Segment
impl Ord for Segment
Source§impl PartialOrd for Segment
impl PartialOrd for Segment
impl Copy for Segment
impl Eq for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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