pub trait TypeMembershipMethods<'tcx>: Backend<'tcx> {
// Provided methods
fn add_type_metadata(&self, _function: Self::Function, _typeid: String) { ... }
fn set_type_metadata(&self, _function: Self::Function, _typeid: String) { ... }
fn typeid_metadata(&self, _typeid: String) -> Option<Self::Value> { ... }
fn add_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32) { ... }
fn set_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32) { ... }
}
Provided Methods§
fn add_type_metadata(&self, _function: Self::Function, _typeid: String)
fn set_type_metadata(&self, _function: Self::Function, _typeid: String)
fn typeid_metadata(&self, _typeid: String) -> Option<Self::Value>
fn add_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32)
fn set_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32)
Object Safety§
This trait is not object safe.