[−][src]Trait dicom_core::dictionary::DataDictionary
Type trait for a dictionary of DICOM attributes. Attribute dictionaries provide the
- means to convert a tag to an alias and vice versa, as well as a form of retrieving
- additional information about the attribute.
- The methods herein have no generic parameters, so as to enable being
- used as a trait object.
Associated Types
type Entry: DictionaryEntry
The type of the dictionary entry.
Required methods
fn by_name(&self, name: &str) -> Option<&Self::Entry>
Fetch an entry by its usual alias (e.g. "PatientName" or "SOPInstanceUID"). Aliases are usually case sensitive and not separated by spaces.
fn by_tag(&self, tag: Tag) -> Option<&Self::Entry>
Fetch an entry by its tag.