pub struct Stencil {
pub name: &'static str,
pub code: &'static [u8],
pub relocs: &'static [Reloc],
}Expand description
One extracted stencil: machine code plus the holes to patch.
Fields§
§name: &'static strThe stencil’s symbol name in the object file.
code: &'static [u8]The extracted machine code.
relocs: &'static [Reloc]Every patchable site within code.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stencil
impl RefUnwindSafe for Stencil
impl Send for Stencil
impl Sync for Stencil
impl Unpin for Stencil
impl UnsafeUnpin for Stencil
impl UnwindSafe for Stencil
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