Struct dicom_core::header::PrimitiveDataElement[][src]

pub struct PrimitiveDataElement { /* fields omitted */ }

A data type that represents and owns a DICOM data element containing a primitive value.

Implementations

impl PrimitiveDataElement[src]

pub fn new(header: DataElementHeader, value: PrimitiveValue) -> Self[src]

Main constructor for a primitive data element.

Trait Implementations

impl Clone for PrimitiveDataElement[src]

impl Debug for PrimitiveDataElement[src]

impl<I, P> From<PrimitiveDataElement> for DataElement<I, P>[src]

impl PartialEq<PrimitiveDataElement> for PrimitiveDataElement[src]

impl StructuralPartialEq for PrimitiveDataElement[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.