Struct dicom_parser::dataset::ItemValue
source · pub struct ItemValue<P>(_);Expand description
A newtype for wrapping a piece of raw data into an 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> IntoTokens for ItemValue<P>where
P: AsRef<[u8]>,
impl<P> IntoTokens for ItemValue<P>where P: AsRef<[u8]>,
§type Iter = ItemValueTokens<P>
type Iter = ItemValueTokens<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<ItemValue<P>> for ItemValue<P>
impl<P: PartialEq> PartialEq<ItemValue<P>> for ItemValue<P>
impl<P> StructuralPartialEq for ItemValue<P>
Auto Trait Implementations§
impl<P> RefUnwindSafe for ItemValue<P>where P: RefUnwindSafe,
impl<P> Send for ItemValue<P>where P: Send,
impl<P> Sync for ItemValue<P>where P: Sync,
impl<P> Unpin for ItemValue<P>where P: Unpin,
impl<P> UnwindSafe for ItemValue<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