Struct lief::dwarf::compilation_unit::Language
pub struct Language {
pub lang: Langs,
pub version: u32,
}
Expand description
Languages supported by the DWARF (v5) format. See: https://dwarfstd.org/languages.html
Some languages (like C++11, C++17, ..) have a version (11, 17, …) which is stored in a dedicated attribute: #version
Fields§
§lang: Langs
The language itself
version: u32
Version of the language (e.g. 17 for C++17)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
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