Module dicom_core::value[][src]

Expand description

This module includes a high level abstraction over a DICOM data element’s value.

Re-exports

pub use self::deserialize::Error as DeserializeError;
pub use self::partial::DicomDate;
pub use self::partial::DicomDateTime;
pub use self::partial::DicomTime;
pub use self::range::AsRange;
pub use self::range::DateRange;
pub use self::range::DateTimeRange;
pub use self::range::TimeRange;

Modules

Parsing of primitive values

Handling of partial precision of Date, Time and DateTime values.

Handling of date, time, date-time ranges. Needed for range matching. Parsing into ranges happens via partial precision structures (DicomDate, DicomTime, DicomDatime) so ranges can handle null components in date, time, date-time values.

Encoding of primitive values.

Structs

An error type for an attempt of accessing a value in one internal representation as another.

An error type for a failed attempt at converting a value into another representation.

Enums

Triggered when a value reading attempt fails.

An enum representing a primitive value from a DICOM element. The result of decoding an element’s data value may be one of the enumerated types depending on its content and value representation.

Representation of a full DICOM value, which may be either primitive or another DICOM object.

An enum representing an abstraction of a DICOM element’s data value type. This should be the equivalent of PrimitiveValue without the content, plus the Item and PixelSequence entries.

Traits

A trait for a value that maps to a DICOM element data value.

Type Definitions

An aggregation of one or more elements in a value.