pub struct StandardDataDictionary;
Expand description
A data element dictionary which consults the library’s global DICOM attribute registry.
This is the type which would generally be used whenever a data element dictionary is needed, such as when reading DICOM objects.
The dictionary index is automatically initialized upon the first use.
Trait Implementations§
Source§impl Clone for StandardDataDictionary
impl Clone for StandardDataDictionary
Source§fn clone(&self) -> StandardDataDictionary
fn clone(&self) -> StandardDataDictionary
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 DataDictionary for &StandardDataDictionary
impl DataDictionary for &StandardDataDictionary
Source§type Entry = DataDictionaryEntryRef<'static>
type Entry = DataDictionaryEntryRef<'static>
The type of the dictionary entry.
Source§fn by_name(
&self,
name: &str,
) -> Option<&'static DataDictionaryEntryRef<'static>>
fn by_name( &self, name: &str, ) -> Option<&'static DataDictionaryEntryRef<'static>>
Fetch an entry by its usual alias
(e.g. “PatientName” or “SOPInstanceUID”).
Aliases (or keyword)
are usually in UpperCamelCase,
not separated by spaces,
and are case sensitive. Read more
Source§fn by_tag(&self, tag: Tag) -> Option<&'static DataDictionaryEntryRef<'static>>
fn by_tag(&self, tag: Tag) -> Option<&'static DataDictionaryEntryRef<'static>>
Fetch a data element entry by its tag.
Source§fn by_expr(&self, tag: &str) -> Option<&Self::Entry>
fn by_expr(&self, tag: &str) -> Option<&Self::Entry>
Fetch an entry by its alias or by DICOM tag expression. Read more
Source§fn parse_tag(&self, tag: &str) -> Option<Tag>
fn parse_tag(&self, tag: &str) -> Option<Tag>
Use this data element dictionary to interpret a DICOM tag. Read more
Source§fn parse_selector(
&self,
selector_text: &str,
) -> Result<AttributeSelector, ParseSelectorError>
fn parse_selector( &self, selector_text: &str, ) -> Result<AttributeSelector, ParseSelectorError>
Parse a string as an attribute selector. Read more
Source§impl DataDictionary for StandardDataDictionary
impl DataDictionary for StandardDataDictionary
Source§type Entry = DataDictionaryEntryRef<'static>
type Entry = DataDictionaryEntryRef<'static>
The type of the dictionary entry.
Source§fn by_name(
&self,
name: &str,
) -> Option<&<StandardDataDictionary as DataDictionary>::Entry>
fn by_name( &self, name: &str, ) -> Option<&<StandardDataDictionary as DataDictionary>::Entry>
Fetch an entry by its usual alias
(e.g. “PatientName” or “SOPInstanceUID”).
Aliases (or keyword)
are usually in UpperCamelCase,
not separated by spaces,
and are case sensitive. Read more
Source§fn by_tag(
&self,
tag: Tag,
) -> Option<&<StandardDataDictionary as DataDictionary>::Entry>
fn by_tag( &self, tag: Tag, ) -> Option<&<StandardDataDictionary as DataDictionary>::Entry>
Fetch a data element entry by its tag.
Source§fn by_expr(&self, tag: &str) -> Option<&Self::Entry>
fn by_expr(&self, tag: &str) -> Option<&Self::Entry>
Fetch an entry by its alias or by DICOM tag expression. Read more
Source§fn parse_tag(&self, tag: &str) -> Option<Tag>
fn parse_tag(&self, tag: &str) -> Option<Tag>
Use this data element dictionary to interpret a DICOM tag. Read more
Source§fn parse_selector(
&self,
selector_text: &str,
) -> Result<AttributeSelector, ParseSelectorError>
fn parse_selector( &self, selector_text: &str, ) -> Result<AttributeSelector, ParseSelectorError>
Parse a string as an attribute selector. Read more
Source§impl Debug for StandardDataDictionary
impl Debug for StandardDataDictionary
Source§impl Default for StandardDataDictionary
impl Default for StandardDataDictionary
Source§fn default() -> StandardDataDictionary
fn default() -> StandardDataDictionary
Returns the “default value” for a type. Read more
Source§impl Display for StandardDataDictionary
impl Display for StandardDataDictionary
Source§impl Hash for StandardDataDictionary
impl Hash for StandardDataDictionary
Source§impl Ord for StandardDataDictionary
impl Ord for StandardDataDictionary
Source§fn cmp(&self, other: &StandardDataDictionary) -> Ordering
fn cmp(&self, other: &StandardDataDictionary) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StandardDataDictionary
impl PartialEq for StandardDataDictionary
Source§impl PartialOrd for StandardDataDictionary
impl PartialOrd for StandardDataDictionary
impl Copy for StandardDataDictionary
impl Eq for StandardDataDictionary
impl StructuralPartialEq for StandardDataDictionary
Auto Trait Implementations§
impl Freeze for StandardDataDictionary
impl RefUnwindSafe for StandardDataDictionary
impl Send for StandardDataDictionary
impl Sync for StandardDataDictionary
impl Unpin for StandardDataDictionary
impl UnwindSafe for StandardDataDictionary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more