[−][src]Enum dicom_core::value::ValueType
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
entry.
Variants
Empty
No data. Used for any value of length 0.
Item
An item. Used for elements in a SQ, regardless of content.
Strs
A sequence of strings. Used for AE, AS, PN, SH, CS, LO, UI and UC. Can also be used for IS, SS, DS, DA, DT and TM when decoding with format preservation.
Str
A single string. Used for ST, LT, UT and UR, which are never multi-valued.
Tags
A sequence of attribute tags. Used specifically for AT.
U8
The value is a sequence of unsigned 16-bit integers. Used for OB and UN.
I16
The value is a sequence of signed 16-bit integers. Used for SS.
U16
A sequence of unsigned 168-bit integers. Used for US and OW.
I32
A sequence of signed 32-bit integers. Used for SL and IS.
U32
A sequence of unsigned 32-bit integers. Used for UL and OL.
I64
A sequence of signed 64-bit integers. Used for SV.
U64
A sequence of unsigned 64-bit integers. Used for UV and OV.
F32
The value is a sequence of 32-bit floating point numbers. Used for OF and FL.
F64
The value is a sequence of 64-bit floating point numbers. Used for OD, FD and DS.
Date
A sequence of dates. Used for the DA representation.
DateTime
A sequence of date-time values. Used for the DT representation.
Time
A sequence of time values. Used for the TM representation.
Trait Implementations
impl Clone for ValueType
[src]
fn clone(&self) -> ValueType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ValueType
[src]
impl Eq for ValueType
[src]
impl PartialEq<ValueType> for ValueType
[src]
fn eq(&self, other: &ValueType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for ValueType
[src]
Auto Trait Implementations
impl Unpin for ValueType
impl Sync for ValueType
impl Send for ValueType
impl UnwindSafe for ValueType
impl RefUnwindSafe for ValueType
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,