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.
source§impl<P: PartialEq> PartialEq<OffsetTableItem<P>> for OffsetTableItem<P>
impl<P: PartialEq> PartialEq<OffsetTableItem<P>> for OffsetTableItem<P>
source§fn eq(&self, other: &OffsetTableItem<P>) -> bool
fn eq(&self, other: &OffsetTableItem<P>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<P> StructuralPartialEq for OffsetTableItem<P>
Auto Trait Implementations§
impl<P> RefUnwindSafe for OffsetTableItem<P>where P: RefUnwindSafe,
impl<P> Send for OffsetTableItem<P>where P: Send,
impl<P> Sync for OffsetTableItem<P>where P: Sync,
impl<P> Unpin for OffsetTableItem<P>where P: Unpin,
impl<P> UnwindSafe for OffsetTableItem<P>where P: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more