pub struct NameAbbreviations { /* private fields */ }Expand description
A table of name entry abbreviations.
Implementations§
Source§impl NameAbbreviations
impl NameAbbreviations
Sourcepub fn get(&self, code: u64) -> Option<&NameAbbreviation>
pub fn get(&self, code: u64) -> Option<&NameAbbreviation>
Get an abbreviation by its code.
Sourcepub fn abbreviations(&self) -> &[NameAbbreviation]
pub fn abbreviations(&self) -> &[NameAbbreviation]
Get all abbreviations.
Trait Implementations§
Source§impl Clone for NameAbbreviations
impl Clone for NameAbbreviations
Source§fn clone(&self) -> NameAbbreviations
fn clone(&self) -> NameAbbreviations
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NameAbbreviations
impl Debug for NameAbbreviations
Source§impl Default for NameAbbreviations
impl Default for NameAbbreviations
Source§fn default() -> NameAbbreviations
fn default() -> NameAbbreviations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NameAbbreviations
impl RefUnwindSafe for NameAbbreviations
impl Send for NameAbbreviations
impl Sync for NameAbbreviations
impl Unpin for NameAbbreviations
impl UnsafeUnpin for NameAbbreviations
impl UnwindSafe for NameAbbreviations
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