pub struct StubDataDictionary;
Expand description
An empty attribute dictionary.
Trait Implementations§
Source§impl Clone for StubDataDictionary
impl Clone for StubDataDictionary
Source§fn clone(&self) -> StubDataDictionary
fn clone(&self) -> StubDataDictionary
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 &StubDataDictionary
impl DataDictionary for &StubDataDictionary
Source§type Entry = DataDictionaryEntryRef<'static>
type Entry = DataDictionaryEntryRef<'static>
The type of the dictionary entry.
Source§fn by_name(&self, _: &str) -> Option<&DataDictionaryEntryRef<'static>>
fn by_name(&self, _: &str) -> Option<&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) -> Option<&DataDictionaryEntryRef<'static>>
fn by_tag(&self, _: Tag) -> Option<&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 Box<StubDataDictionary>
impl DataDictionary for Box<StubDataDictionary>
Source§type Entry = DataDictionaryEntryRef<'static>
type Entry = DataDictionaryEntryRef<'static>
The type of the dictionary entry.
Source§fn by_name(&self, _: &str) -> Option<&DataDictionaryEntryRef<'static>>
fn by_name(&self, _: &str) -> Option<&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) -> Option<&DataDictionaryEntryRef<'static>>
fn by_tag(&self, _: Tag) -> Option<&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 StubDataDictionary
impl DataDictionary for StubDataDictionary
Source§type Entry = DataDictionaryEntryRef<'static>
type Entry = DataDictionaryEntryRef<'static>
The type of the dictionary entry.
Source§fn by_name(&self, _: &str) -> Option<&DataDictionaryEntryRef<'static>>
fn by_name(&self, _: &str) -> Option<&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) -> Option<&DataDictionaryEntryRef<'static>>
fn by_tag(&self, _: Tag) -> Option<&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 Debug for StubDataDictionary
impl Debug for StubDataDictionary
Source§impl Default for StubDataDictionary
impl Default for StubDataDictionary
Source§fn default() -> StubDataDictionary
fn default() -> StubDataDictionary
Returns the “default value” for a type. Read more
Source§impl Hash for StubDataDictionary
impl Hash for StubDataDictionary
Source§impl Ord for StubDataDictionary
impl Ord for StubDataDictionary
Source§fn cmp(&self, other: &StubDataDictionary) -> Ordering
fn cmp(&self, other: &StubDataDictionary) -> 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 StubDataDictionary
impl PartialEq for StubDataDictionary
Source§impl PartialOrd for StubDataDictionary
impl PartialOrd for StubDataDictionary
impl Copy for StubDataDictionary
impl Eq for StubDataDictionary
impl StructuralPartialEq for StubDataDictionary
Auto Trait Implementations§
impl Freeze for StubDataDictionary
impl RefUnwindSafe for StubDataDictionary
impl Send for StubDataDictionary
impl Sync for StubDataDictionary
impl Unpin for StubDataDictionary
impl UnwindSafe for StubDataDictionary
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> 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