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§

source

fn add_type_metadata(&self, _function: Self::Function, _typeid: String)

source

fn set_type_metadata(&self, _function: Self::Function, _typeid: String)

source

fn typeid_metadata(&self, _typeid: String) -> Option<Self::Value>

source

fn add_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32)

source

fn set_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u32)

Object Safety§

This trait is not object safe.

Implementors§