dicom_parser::dataset

Trait IntoTokens

Source
pub trait IntoTokens {
    type Iter: Iterator<Item = DataToken>;

    // Required methods
    fn into_tokens(self) -> Self::Iter;
    fn into_tokens_with_options(self, options: IntoTokensOptions) -> Self::Iter;
}
Expand description

A trait for converting structured DICOM data into a stream of data tokens.

Required Associated Types§

Source

type Iter: Iterator<Item = DataToken>

The iterator type through which tokens are obtained.

Required Methods§

Source

fn into_tokens(self) -> Self::Iter

Source

fn into_tokens_with_options(self, options: IntoTokensOptions) -> Self::Iter

Implementations on Foreign Types§

Source§

impl IntoTokens for EmptyObject

Source§

impl<I, P> IntoTokens for DataElement<I, P>
where I: IntoTokens + HasLength, P: AsRef<[u8]>,

Source§

impl<T> IntoTokens for Vec<T>
where T: IntoTokens,

Source§

type Iter = FlattenTokens<<Vec<T> as IntoIterator>::IntoIter, <T as IntoTokens>::Iter>

Source§

fn into_tokens(self) -> Self::Iter

Source§

fn into_tokens_with_options( self, into_token_options: IntoTokensOptions, ) -> Self::Iter

Source§

impl<T> IntoTokens for C<T>
where T: IntoTokens,

Implementors§