Skip to main content

Module meta_obj

Module meta_obj 

Source

Re-exportsยง

use std::any::Any; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::iter; ๐Ÿ”’
use rustc_abi::Size; ๐Ÿ”’
use crate::*; ๐Ÿ”’

Enumsยง

GetMetaError

Constantsยง

OPAQUE_OBJ_COOKIE
The byte that will be filled into the memory that backs an opaque meta object. Can be basically anything, the only constraint is that we must be able to tell it apart from static initializers to avoid allowing a destryed object to be implicitly re-initialized. Therefore, this must not be 0x00.

Traitsยง

EvalContextExt
MetaObj
A trait for the synchronization metadata that can be attached to a memory location. Must not contain any provenance!