Skip to main content

Module vtable

Module vtable 

Source

Re-exportsยง

use std::fmt; ๐Ÿ”’
use rustc_ast::Mutability; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use rustc_type_ir::elaborate; ๐Ÿ”’
use crate::mir::interpret::AllocId; ๐Ÿ”’
use crate::mir::interpret::AllocInit; ๐Ÿ”’
use crate::mir::interpret::Allocation; ๐Ÿ”’
use crate::mir::interpret::CTFE_ALLOC_SALT; ๐Ÿ”’
use crate::mir::interpret::Pointer; ๐Ÿ”’
use crate::mir::interpret::Scalar; ๐Ÿ”’
use crate::mir::interpret::alloc_range; ๐Ÿ”’
use crate::ty; ๐Ÿ”’
use crate::ty::Instance; ๐Ÿ”’
use crate::ty::TraitRef; ๐Ÿ”’
use crate::ty::Ty; ๐Ÿ”’
use crate::ty::TyCtxt; ๐Ÿ”’

Enumsยง

VtblEntry

Constantsยง

COMMON_VTABLE_ENTRIES_ALIGN
COMMON_VTABLE_ENTRIES_DROPINPLACE
COMMON_VTABLE_ENTRIES_SIZE

Functionsยง

vtable_allocation_provider ๐Ÿ”’
Retrieves an allocation that represents the contents of a vtable. Since this is a query, allocations are cached and not duplicated.
vtable_min_entries ๐Ÿ”’