Struct gimli::Abbreviation [−][src]
pub struct Abbreviation { /* fields omitted */ }
An abbreviation describes the shape of a DebuggingInformationEntry
's type:
its code, tag type, whether it has children, and its set of attributes.
Methods
impl Abbreviation
[src]
impl Abbreviation
pub fn new(
code: u64,
tag: DwTag,
has_children: DwChildren,
attributes: Vec<AttributeSpecification>
) -> Abbreviation
[src]
pub fn new(
code: u64,
tag: DwTag,
has_children: DwChildren,
attributes: Vec<AttributeSpecification>
) -> Abbreviation
pub fn code(&self) -> u64
[src]
pub fn code(&self) -> u64
Get this abbreviation's code.
pub fn tag(&self) -> DwTag
[src]
pub fn tag(&self) -> DwTag
Get this abbreviation's tag.
pub fn has_children(&self) -> bool
[src]
pub fn has_children(&self) -> bool
Return true if this abbreviation's type has children, false otherwise.
pub fn attributes(&self) -> &[AttributeSpecification]
[src]
pub fn attributes(&self) -> &[AttributeSpecification]
Get this abbreviation's attributes.
Trait Implementations
impl Debug for Abbreviation
[src]
impl Debug for Abbreviation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Abbreviation
[src]
impl Clone for Abbreviation
fn clone(&self) -> Abbreviation
[src]
fn clone(&self) -> Abbreviation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Abbreviation
[src]
impl PartialEq for Abbreviation
fn eq(&self, other: &Abbreviation) -> bool
[src]
fn eq(&self, other: &Abbreviation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Abbreviation) -> bool
[src]
fn ne(&self, other: &Abbreviation) -> bool
This method tests for !=
.
impl Eq for Abbreviation
[src]
impl Eq for Abbreviation
Auto Trait Implementations
impl Send for Abbreviation
impl Send for Abbreviation
impl Sync for Abbreviation
impl Sync for Abbreviation