Struct dicom_core::dictionary::DataDictionaryEntryRef
source · pub struct DataDictionaryEntryRef<'a> {
pub tag: TagRange,
pub alias: &'a str,
pub vr: VR,
}Expand description
A data type for a dictionary entry with a string slice for its alias.
Fields§
§tag: TagRangeThe attribute tag or tag range
alias: &'a strThe alias of the attribute, with no spaces, usually InCapitalizedCamelCase
vr: VRThe typical value representation of the attribute
Trait Implementations§
source§impl<'a> Clone for DataDictionaryEntryRef<'a>
impl<'a> Clone for DataDictionaryEntryRef<'a>
source§fn clone(&self) -> DataDictionaryEntryRef<'a>
fn clone(&self) -> DataDictionaryEntryRef<'a>
Returns a copy 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<'a> DataDictionaryEntry for DataDictionaryEntryRef<'a>
impl<'a> DataDictionaryEntry for DataDictionaryEntryRef<'a>
source§fn tag_range(&self) -> TagRange
fn tag_range(&self) -> TagRange
The full possible tag range of the atribute,
which this dictionary entry can represent.
source§fn alias(&self) -> &str
fn alias(&self) -> &str
The alias of the attribute, with no spaces, usually in UpperCamelCase.
source§impl<'a> Debug for DataDictionaryEntryRef<'a>
impl<'a> Debug for DataDictionaryEntryRef<'a>
source§impl<'a> PartialEq<DataDictionaryEntryRef<'a>> for DataDictionaryEntryRef<'a>
impl<'a> PartialEq<DataDictionaryEntryRef<'a>> for DataDictionaryEntryRef<'a>
source§fn eq(&self, other: &DataDictionaryEntryRef<'a>) -> bool
fn eq(&self, other: &DataDictionaryEntryRef<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for DataDictionaryEntryRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DataDictionaryEntryRef<'a>
impl<'a> Send for DataDictionaryEntryRef<'a>
impl<'a> Sync for DataDictionaryEntryRef<'a>
impl<'a> Unpin for DataDictionaryEntryRef<'a>
impl<'a> UnwindSafe for DataDictionaryEntryRef<'a>
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