Struct lldb::SBCompileUnit
[−]
[src]
pub struct SBCompileUnit { pub raw: SBCompileUnitRef, }
A compilation unit or compiled source file.
Fields
raw: SBCompileUnitRef
The underlying raw SBCompileUnitRef
.
Methods
impl SBCompileUnit
[src]
fn wrap(raw: SBCompileUnitRef) -> SBCompileUnit
[src]
Construct a new SBCompileUnit
.
fn maybe_wrap(raw: SBCompileUnitRef) -> Option<SBCompileUnit>
[src]
Construct a new Some(SBCompileUnit)
or None
.
fn is_valid(&self) -> bool
[src]
Check whether or not this is a valid SBCompileUnit
value.
fn filespec(&self) -> SBFileSpec
[src]
The source file for the compile unit.
fn language(&self) -> LanguageType
[src]
The language for the compile unit.