pub struct ExplicitVRLittleEndianDecoder { /* private fields */ }
Expand description
A data element decoder for the Explicit VR Little Endian transfer syntax.
Trait Implementations§
Source§impl Clone for ExplicitVRLittleEndianDecoder
impl Clone for ExplicitVRLittleEndianDecoder
Source§fn clone(&self) -> ExplicitVRLittleEndianDecoder
fn clone(&self) -> ExplicitVRLittleEndianDecoder
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 Decode for ExplicitVRLittleEndianDecoder
impl Decode for ExplicitVRLittleEndianDecoder
Source§fn decode_header<S>(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
fn decode_header<S>(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
Fetch and decode the next data element header from the given source.
This method returns only the header of the element. At the end of this operation, the source
will be pointing at the element’s value data, which should be read or skipped as necessary. Read more
Source§fn decode_item_header<S>(&self, source: &mut S) -> Result<SequenceItemHeader>
fn decode_item_header<S>(&self, source: &mut S) -> Result<SequenceItemHeader>
Fetch and decode the next sequence item head from the given source. It is a separate method
because value representation is always implicit when reading item headers and delimiters.
This method returns only the header of the item. At the end of this operation, the source
will be pointing at the beginning of the item’s data, which should be traversed if necessary.
Source§impl<S> DecodeFrom<S> for ExplicitVRLittleEndianDecoder
impl<S> DecodeFrom<S> for ExplicitVRLittleEndianDecoder
Source§fn decode_header(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
fn decode_header(&self, source: &mut S) -> Result<(DataElementHeader, usize)>
Fetch and decode the next data element header from the given source.
This method returns only the header of the element. At the end of this operation, the source
will be pointing at the element’s value data, which should be read or skipped as necessary. Read more
Source§fn decode_item_header(&self, source: &mut S) -> Result<SequenceItemHeader>
fn decode_item_header(&self, source: &mut S) -> Result<SequenceItemHeader>
Fetch and decode the next sequence item head from the given source. It is a separate method
because value representation is always implicit when reading item headers and delimiters.
This method returns only the header of the item. At the end of this operation, the source
will be pointing at the beginning of the item’s data, which should be traversed if necessary.
Source§impl Default for ExplicitVRLittleEndianDecoder
impl Default for ExplicitVRLittleEndianDecoder
Source§fn default() -> ExplicitVRLittleEndianDecoder
fn default() -> ExplicitVRLittleEndianDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExplicitVRLittleEndianDecoder
impl RefUnwindSafe for ExplicitVRLittleEndianDecoder
impl Send for ExplicitVRLittleEndianDecoder
impl Sync for ExplicitVRLittleEndianDecoder
impl Unpin for ExplicitVRLittleEndianDecoder
impl UnwindSafe for ExplicitVRLittleEndianDecoder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more