#[non_exhaustive]
pub enum ThunkKind<'t> {
NoType,
Adjustor(ThunkAdjustor<'t>),
VCall(u16),
PCode,
Load,
Unknown(u8),
}
Expand description
A thunk kind
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoType
Standard thunk
Adjustor(ThunkAdjustor<'t>)
“this” adjustor thunk with delta and target
VCall(u16)
Virtual call thunk with table entry
PCode
pcode thunk
Load
thunk which loads the address to jump to via unknown means…
Unknown(u8)
Unknown with ordinal value
Trait Implementations
impl<'t> Copy for ThunkKind<'t>
impl<'t> Eq for ThunkKind<'t>
impl<'t> StructuralEq for ThunkKind<'t>
impl<'t> StructuralPartialEq for ThunkKind<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for ThunkKind<'t>
impl<'t> Send for ThunkKind<'t>
impl<'t> Sync for ThunkKind<'t>
impl<'t> Unpin for ThunkKind<'t>
impl<'t> UnwindSafe for ThunkKind<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more