Struct dicom_parser::dataset::OffsetTableItem
source · pub struct OffsetTableItem<P>(_);Expand description
A newtype for wrapping a sequence of u32s into an offset table item.
When converting a value of this type into tokens,
the algorithm will create an item start with an explicit length,
followed by an item value token,
then an item delimiter.
Trait Implementations§
source§impl<P: Clone> Clone for OffsetTableItem<P>
impl<P: Clone> Clone for OffsetTableItem<P>
source§fn clone(&self) -> OffsetTableItem<P>
fn clone(&self) -> OffsetTableItem<P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<P: Debug> Debug for OffsetTableItem<P>
impl<P: Debug> Debug for OffsetTableItem<P>
source§impl<P> IntoTokens for OffsetTableItem<P>where
P: AsRef<[u32]>,
impl<P> IntoTokens for OffsetTableItem<P>where
P: AsRef<[u32]>,
§type Iter = OffsetTableItemTokens<P>
type Iter = OffsetTableItemTokens<P>
The iterator type through which tokens are obtained.
source§fn into_tokens(self) -> Self::Iter
fn into_tokens(self) -> Self::Iter
Convert the value into tokens.