pub struct DebugInfoOptions<'a> {
pub emission_kind: DwarfEmissionKind,
pub language: DwarfSourceLanguage,
pub producer: String,
pub optimized: bool,
pub directory: String,
pub dwarf_version: u32,
pub source_text: HMap<String, SourceText<'a>>,
}Expand description
Debug data options of ToLLVMOptions.
Fields§
§emission_kind: DwarfEmissionKindThe amount of debug data to emit.
language: DwarfSourceLanguageThe source language of the compile unit.
producer: StringThe producer of the compile unit.
optimized: boolIs the code optimized?
directory: StringBase directory for relative file names.
dwarf_version: u32Not set if the module already has one.
source_text: HMap<String, SourceText<'a>>Text to embed in the DIFile of each location path.
Trait Implementations§
Source§impl<'a> Debug for DebugInfoOptions<'a>
impl<'a> Debug for DebugInfoOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for DebugInfoOptions<'a>
impl<'a> RefUnwindSafe for DebugInfoOptions<'a>
impl<'a> Send for DebugInfoOptions<'a>
impl<'a> Sync for DebugInfoOptions<'a>
impl<'a> Unpin for DebugInfoOptions<'a>
impl<'a> UnsafeUnpin for DebugInfoOptions<'a>
impl<'a> UnwindSafe for DebugInfoOptions<'a>
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.