Struct dicom_parser::dataset::AsItem
source · pub struct AsItem<I>(_, _);Expand description
A newtype for interpreting the given data as an item. When converting a value of this type into tokens, the inner value’s tokens will be surrounded by an item start and an item delimiter.
Trait Implementations§
source§impl<I> IntoTokens for AsItem<I>where
I: IntoTokens,
impl<I> IntoTokens for AsItem<I>where I: IntoTokens,
§type Iter = ItemTokens<<I as IntoTokens>::Iter>
type Iter = ItemTokens<<I as IntoTokens>::Iter>
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<I: PartialEq> PartialEq<AsItem<I>> for AsItem<I>
impl<I: PartialEq> PartialEq<AsItem<I>> for AsItem<I>
impl<I> StructuralPartialEq for AsItem<I>
Auto Trait Implementations§
impl<I> RefUnwindSafe for AsItem<I>where I: RefUnwindSafe,
impl<I> Send for AsItem<I>where I: Send,
impl<I> Sync for AsItem<I>where I: Sync,
impl<I> Unpin for AsItem<I>where I: Unpin,
impl<I> UnwindSafe for AsItem<I>where I: 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