Struct gimli::Abbreviations
[−]
[src]
pub struct Abbreviations {
// some fields omitted
}A set of type abbreviations.
Methods
impl Abbreviations[src]
fn new() -> Abbreviations
Construct a new, empty set of abbreviations.
fn insert(&mut self, abbrev: Abbreviation) -> Result<(), ()>
Insert an abbreviation into the set.
Returns Ok if it is the first abbreviation in the set with its code,
Err if the code is a duplicate and there already exists an
abbreviation in the set with the given abbreviation's code.
Trait Implementations
impl Clone for Abbreviations[src]
fn clone(&self) -> Abbreviations
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more