Enum dicom_core::dictionary::TagRange[][src]

pub enum TagRange {
    Single(Tag),
    Group100(Tag),
    Element100(Tag),
}

Specification of a range of tags pertaining to an attribute. Very often, the dictionary of attributes indicates a unique (group,elem) for a specific attribute, but occasionally a range of groups or elements is indicated instead (e.g. Pixel Data is associated with ).

Variants

Single(Tag)

Only a specific tag

Group100(Tag)

The two rightmost digits of the group portion are open: (GGxx,EEEE)

Element100(Tag)

The two rightmost digits of the element portion are open: (GGGG,EExx)

Implementations

impl TagRange[src]

pub fn inner(self) -> Tag[src]

Retrieve the inner tag representation of this range.

Trait Implementations

impl Clone for TagRange[src]

impl Copy for TagRange[src]

impl Debug for TagRange[src]

impl FromStr for TagRange[src]

type Err = TagRangeParseError

The associated error which can be returned from parsing.

impl PartialEq<TagRange> for TagRange[src]

impl StructuralPartialEq for TagRange[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.