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]
pub fn wrap(raw: SBCompileUnitRef) -> SBCompileUnit[src]
Construct a new SBCompileUnit.
pub fn maybe_wrap(raw: SBCompileUnitRef) -> Option<SBCompileUnit>[src]
Construct a new Some(SBCompileUnit) or None.
pub fn is_valid(&self) -> bool[src]
Check whether or not this is a valid SBCompileUnit value.
pub fn filespec(&self) -> SBFileSpec[src]
The source file for the compile unit.
pub fn language(&self) -> LanguageType[src]
The language for the compile unit.
Trait Implementations
impl Debug for SBCompileUnit[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more