[−][src]Struct dicom_parser::dataset::DicomElementMarker
A data type for a DICOM element residing in a file, or any other source with random access. A position in the file is kept for future access.
Fields
header: DataElementHeaderThe header, kept in memory. At this level, the value representation "UN" may also refer to a non-applicable vr (i.e. for items and delimiters).
pos: u64The ending position of the element's header (or the starting position of the element's value if it exists), relative to the beginning of the file.
Methods
impl DicomElementMarker[src]
pub fn get_data_stream<S: ?Sized, B: DerefMut<Target = S>>(
&self,
source: B
) -> Result<SeekInterval<S, B>> where
S: ReadSeek, [src]
&self,
source: B
) -> Result<SeekInterval<S, B>> where
S: ReadSeek,
Obtain an interval of the raw data associated to this element's data value.
pub fn move_to_start<S: ?Sized, B: DerefMut<Target = S>>(
&self,
source: B
) -> Result<()> where
S: Seek, [src]
&self,
source: B
) -> Result<()> where
S: Seek,
Move the source to the position indicated by the marker
pub fn vr(&self) -> VR[src]
Getter for this element's value representation. May be UN
when this is not applicable.
Trait Implementations
impl PartialEq<DicomElementMarker> for DicomElementMarker[src]
fn eq(&self, other: &DicomElementMarker) -> bool[src]
fn ne(&self, other: &DicomElementMarker) -> bool[src]
impl Clone for DicomElementMarker[src]
fn clone(&self) -> DicomElementMarker[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for DicomElementMarker[src]
impl Debug for DicomElementMarker[src]
impl Header for DicomElementMarker[src]
fn tag(&self) -> Tag[src]
fn len(&self) -> Length[src]
fn is_item(&self) -> bool[src]
Check whether this is the header of an item.
fn is_item_delimiter(&self) -> bool[src]
Check whether this is the header of an item delimiter.
fn is_sequence_delimiter(&self) -> bool[src]
Check whether this is the header of a sequence delimiter.
Auto Trait Implementations
impl Send for DicomElementMarker
impl Unpin for DicomElementMarker
impl Sync for DicomElementMarker
impl UnwindSafe for DicomElementMarker
impl RefUnwindSafe for DicomElementMarker
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,