Struct inkwell::debug_info::DICompileUnit
source · pub struct DICompileUnit<'ctx> { /* private fields */ }
Expand description
Compilation unit scope for debug info
Implementations§
source§impl<'ctx> DICompileUnit<'ctx>
impl<'ctx> DICompileUnit<'ctx>
pub fn get_file(&self) -> DIFile<'ctx>
sourcepub fn as_mut_ptr(&self) -> LLVMMetadataRef
pub fn as_mut_ptr(&self) -> LLVMMetadataRef
Acquires the underlying raw pointer belonging to this DICompileUnit
type.
Trait Implementations§
source§impl<'ctx> AsDIScope<'ctx> for DICompileUnit<'ctx>
impl<'ctx> AsDIScope<'ctx> for DICompileUnit<'ctx>
fn as_debug_info_scope(self) -> DIScope<'ctx>
source§impl<'ctx> Clone for DICompileUnit<'ctx>
impl<'ctx> Clone for DICompileUnit<'ctx>
source§fn clone(&self) -> DICompileUnit<'ctx>
fn clone(&self) -> DICompileUnit<'ctx>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'ctx> Debug for DICompileUnit<'ctx>
impl<'ctx> Debug for DICompileUnit<'ctx>
source§impl<'ctx> PartialEq<DICompileUnit<'ctx>> for DICompileUnit<'ctx>
impl<'ctx> PartialEq<DICompileUnit<'ctx>> for DICompileUnit<'ctx>
source§fn eq(&self, other: &DICompileUnit<'ctx>) -> bool
fn eq(&self, other: &DICompileUnit<'ctx>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.