inkwell::debug_info

Trait AsDIScope

source
pub trait AsDIScope<'ctx> {
    // Required method
    fn as_debug_info_scope(self) -> DIScope<'ctx>;
}
Expand description

Specific scopes (i.e. DILexicalBlock) can be turned into a DIScope with the AsDIScope::as_debug_info_scope trait method.

Required Methods§

Implementors§

source§

impl<'ctx> AsDIScope<'ctx> for DIBasicType<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DICompileUnit<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DICompositeType<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DIDerivedType<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DIFile<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DILexicalBlock<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DINamespace<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DISubprogram<'ctx>

source§

impl<'ctx> AsDIScope<'ctx> for DIType<'ctx>