#[non_exhaustive]pub enum VtableMiss {
ClassNotFound {
type_name: &'static str,
},
VtableNotFound {
type_name: &'static str,
offset: u32,
},
ShapeDiffers {
type_name: &'static str,
index: u32,
found: Vec<u8>,
},
}Expand description
Why a function couldn’t be found through its class’s vtable.
Part of a Mismatch; type names are MSVC’s decorated ones, such as
.?AVEntity@game@@.
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.
ClassNotFound
The module has no type information for the class.
VtableNotFound
The class has no vtable at this offset.
Fields
ShapeDiffers
The slot holds a function that doesn’t start like this one.
Trait Implementations§
Source§impl Clone for VtableMiss
impl Clone for VtableMiss
Source§fn clone(&self) -> VtableMiss
fn clone(&self) -> VtableMiss
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VtableMiss
impl Debug for VtableMiss
Source§impl Display for VtableMiss
impl Display for VtableMiss
impl Eq for VtableMiss
Source§impl PartialEq for VtableMiss
impl PartialEq for VtableMiss
impl StructuralPartialEq for VtableMiss
Auto Trait Implementations§
impl Freeze for VtableMiss
impl RefUnwindSafe for VtableMiss
impl Send for VtableMiss
impl Sync for VtableMiss
impl Unpin for VtableMiss
impl UnsafeUnpin for VtableMiss
impl UnwindSafe for VtableMiss
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