Struct dicom_core::header::DataElementRef
source · [−]pub struct DataElementRef<'v, I: 'v, P: 'v> { /* private fields */ }
Expand description
A data type that represents a DICOM data element with a borrowed value.
Implementations
Trait Implementations
sourceimpl<'v, I: Clone + 'v, P: Clone + 'v> Clone for DataElementRef<'v, I, P>
impl<'v, I: Clone + 'v, P: Clone + 'v> Clone for DataElementRef<'v, I, P>
sourcefn clone(&self) -> DataElementRef<'v, I, P>
fn clone(&self) -> DataElementRef<'v, I, P>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'v, I: Debug + 'v, P: Debug + 'v> Debug for DataElementRef<'v, I, P>
impl<'v, I: Debug + 'v, P: Debug + 'v> Debug for DataElementRef<'v, I, P>
sourceimpl<'v, I, P> HasLength for DataElementRef<'v, I, P>
impl<'v, I, P> HasLength for DataElementRef<'v, I, P>
sourceimpl<'v, I, P> Header for DataElementRef<'v, I, P>
impl<'v, I, P> Header for DataElementRef<'v, I, P>
sourcefn is_item_delimiter(&self) -> bool
fn is_item_delimiter(&self) -> bool
Check whether this is the header of an item delimiter.
sourcefn is_sequence_delimiter(&self) -> bool
fn is_sequence_delimiter(&self) -> bool
Check whether this is the header of a sequence delimiter.
sourcefn is_encapsulated_pixeldata(&self) -> bool
fn is_encapsulated_pixeldata(&self) -> bool
Check whether this is the header of an encapsulated pixel data.
sourceimpl<'v, I: PartialEq + 'v, P: PartialEq + 'v> PartialEq<DataElementRef<'v, I, P>> for DataElementRef<'v, I, P>
impl<'v, I: PartialEq + 'v, P: PartialEq + 'v> PartialEq<DataElementRef<'v, I, P>> for DataElementRef<'v, I, P>
sourcefn eq(&self, other: &DataElementRef<'v, I, P>) -> bool
fn eq(&self, other: &DataElementRef<'v, I, P>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataElementRef<'v, I, P>) -> bool
fn ne(&self, other: &DataElementRef<'v, I, P>) -> bool
This method tests for !=
.
impl<'v, I: 'v, P: 'v> StructuralPartialEq for DataElementRef<'v, I, P>
Auto Trait Implementations
impl<'v, I, P> RefUnwindSafe for DataElementRef<'v, I, P> where
I: RefUnwindSafe,
P: RefUnwindSafe,
impl<'v, I, P> Send for DataElementRef<'v, I, P> where
I: Sync,
P: Sync,
impl<'v, I, P> Sync for DataElementRef<'v, I, P> where
I: Sync,
P: Sync,
impl<'v, I, P> Unpin for DataElementRef<'v, I, P>
impl<'v, I, P> UnwindSafe for DataElementRef<'v, I, P> where
I: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more