Struct inkwell::debug_info::DIScope
source · pub struct DIScope<'ctx> { /* private fields */ }
Expand description
Any kind of debug information scope (i.e. visibility of a source code symbol). Scopes are
created by special DebugInfoBuilder
methods (eg create_lexical_block
) and can be turned
into a DIScope
with the AsDIScope::as_debug_info_scope
trait method.
Implementations§
source§impl<'ctx> DIScope<'ctx>
impl<'ctx> DIScope<'ctx>
sourcepub fn as_mut_ptr(&self) -> LLVMMetadataRef
pub fn as_mut_ptr(&self) -> LLVMMetadataRef
Acquires the underlying raw pointer belonging to this DIScope
type.
Trait Implementations§
source§impl<'ctx> PartialEq for DIScope<'ctx>
impl<'ctx> PartialEq for DIScope<'ctx>
impl<'ctx> Copy for DIScope<'ctx>
impl<'ctx> Eq for DIScope<'ctx>
impl<'ctx> StructuralPartialEq for DIScope<'ctx>
Auto Trait Implementations§
impl<'ctx> RefUnwindSafe for DIScope<'ctx>
impl<'ctx> !Send for DIScope<'ctx>
impl<'ctx> !Sync for DIScope<'ctx>
impl<'ctx> Unpin for DIScope<'ctx>
impl<'ctx> UnwindSafe for DIScope<'ctx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more