pub struct StatefulHookGuard<A: Architecture> { /* private fields */ }Expand description
stateful hook guard that tracks enable/disable state
Implementations§
Source§impl<A: Architecture> StatefulHookGuard<A>
impl<A: Architecture> StatefulHookGuard<A>
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
check if enabled
Sourcepub fn trampoline(&self) -> Option<usize>
pub fn trampoline(&self) -> Option<usize>
get trampoline address
Auto Trait Implementations§
impl<A> Freeze for StatefulHookGuard<A>
impl<A> RefUnwindSafe for StatefulHookGuard<A>where
A: RefUnwindSafe,
impl<A> Send for StatefulHookGuard<A>
impl<A> Sync for StatefulHookGuard<A>
impl<A> Unpin for StatefulHookGuard<A>where
A: Unpin,
impl<A> UnwindSafe for StatefulHookGuard<A>where
A: 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