pub struct Handle<H, O> {
pub handler: H,
pub obf: O,
}Fields§
§handler: H§obf: OTrait Implementations§
Source§impl<H: Handler, O: Obfuscate> Obfuscate for Handle<H, O>
impl<H: Handler, O: Obfuscate> Obfuscate for Handle<H, O>
fn obf( &mut self, o: Operator, f: &mut FunctionBody, b: Block, args: &[Value], types: &[Type], module: &mut Module<'_>, ) -> Result<(Value, Block)>
fn boot(&mut self, b: Block, f: &mut FunctionBody) -> Result<Block, Error>
fn sig(&mut self, a: SignatureData) -> Result<SignatureData, Error>
fn obf_term( &mut self, t: Terminator, b: Block, f: &mut FunctionBody, ) -> Result<(), Error>
Auto Trait Implementations§
impl<H, O> Freeze for Handle<H, O>
impl<H, O> RefUnwindSafe for Handle<H, O>where
H: RefUnwindSafe,
O: RefUnwindSafe,
impl<H, O> Send for Handle<H, O>
impl<H, O> Sync for Handle<H, O>
impl<H, O> Unpin for Handle<H, O>
impl<H, O> UnwindSafe for Handle<H, O>where
H: UnwindSafe,
O: UnwindSafe,
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