Enum dicom_parser::dataset::LazyDataTokenRepr
source · pub enum LazyDataTokenRepr {
ElementHeader(DataElementHeader),
SequenceStart {
tag: Tag,
len: Length,
},
PixelSequenceStart,
SequenceEnd,
ItemStart {
len: Length,
},
ItemEnd,
LazyValue {
header: DataElementHeader,
},
LazyItemValue {
len: u32,
},
}Expand description
A structured description of a lazy data token, for diagnostics and error reporting purposes.
Variants§
ElementHeader(DataElementHeader)
A data header of a primitive value.
SequenceStart
The beginning of a sequence element.
PixelSequenceStart
The beginning of an encapsulated pixel data element.
SequenceEnd
The ending delimiter of a sequence or encapsulated pixel data.
ItemStart
The beginning of a new item in the sequence.
ItemEnd
The ending delimiter of an item.
LazyValue
Fields
§
header: DataElementHeaderthe header of the respective value
An element value yet to be fetched
LazyItemValue
An item value yet to be fetched
Trait Implementations§
source§impl Clone for LazyDataTokenRepr
impl Clone for LazyDataTokenRepr
source§fn clone(&self) -> LazyDataTokenRepr
fn clone(&self) -> LazyDataTokenRepr
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 Debug for LazyDataTokenRepr
impl Debug for LazyDataTokenRepr
source§impl<D> From<&LazyDataToken<D>> for LazyDataTokenRepr
impl<D> From<&LazyDataToken<D>> for LazyDataTokenRepr
source§fn from(token: &LazyDataToken<D>) -> Self
fn from(token: &LazyDataToken<D>) -> Self
Converts to this type from the input type.
source§impl<D> From<LazyDataToken<D>> for LazyDataTokenRepr
impl<D> From<LazyDataToken<D>> for LazyDataTokenRepr
source§fn from(token: LazyDataToken<D>) -> Self
fn from(token: LazyDataToken<D>) -> Self
Converts to this type from the input type.