pub struct Vtable {
pub name: String,
pub namespace: Vec<String>,
pub rva: u32,
pub rtti: Option<Rtti>,
pub entries: Vec<VtableEntry>,
}Expand description
A virtual function table in a module.
Fields§
§name: StringThe vtable’s name (typically its class name).
namespace: Vec<String>The namespace path, outermost first. Empty for a free vtable.
rva: u32The vtable’s address, relative to the module’s image base.
rtti: Option<Rtti>The class’s run-time type information, which finds the vtable in another build.
entries: Vec<VtableEntry>The entries, in slot order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vtable
impl<'de> Deserialize<'de> for Vtable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Vtable
impl JsonSchema for Vtable
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Vtable
Auto Trait Implementations§
impl Freeze for Vtable
impl RefUnwindSafe for Vtable
impl Send for Vtable
impl Sync for Vtable
impl Unpin for Vtable
impl UnsafeUnpin for Vtable
impl UnwindSafe for Vtable
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