Struct llvm_plugin_inkwell::debug_info::DILocation
source · pub struct DILocation<'ctx> { /* private fields */ }Expand description
A debug location within the source code. Contains the following information:
- line, column
- scope
- inlined at
Created by create_debug_location of DebugInfoBuilder and consumed by
set_current_debug_location of Builder.
Implementations§
Trait Implementations§
source§impl<'ctx> Clone for DILocation<'ctx>
impl<'ctx> Clone for DILocation<'ctx>
source§fn clone(&self) -> DILocation<'ctx>
fn clone(&self) -> DILocation<'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 DILocation<'ctx>
impl<'ctx> Debug for DILocation<'ctx>
source§impl<'ctx> PartialEq<DILocation<'ctx>> for DILocation<'ctx>
impl<'ctx> PartialEq<DILocation<'ctx>> for DILocation<'ctx>
source§fn eq(&self, other: &DILocation<'ctx>) -> bool
fn eq(&self, other: &DILocation<'ctx>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.