#[non_exhaustive]pub struct Injector<'a> {
pub dll: Data<'a>,
pub pid: u32,
}
Expand description
This struct will expose certain module private functions, to actually use the api. The exact contents should be considered implementation detail.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dll: Data<'a>
The path to a dll. This may be in any format, that rust understands
pid: u32
The pid the dll should be injected into
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Injector<'a>
impl<'a> RefUnwindSafe for Injector<'a>
impl<'a> Send for Injector<'a>
impl<'a> Sync for Injector<'a>
impl<'a> Unpin for Injector<'a>
impl<'a> UnwindSafe for Injector<'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