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§
Source§impl<'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>
Source§fn clone(&self) -> DataElementRef<'v, I, P>
fn clone(&self) -> DataElementRef<'v, I, P>
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<I, P> HasLength for DataElementRef<'_, I, P>
impl<I, P> HasLength for DataElementRef<'_, I, P>
Source§impl<I, P> Header for DataElementRef<'_, I, P>
impl<I, P> Header for DataElementRef<'_, I, P>
Source§fn is_item_delimiter(&self) -> bool
fn is_item_delimiter(&self) -> bool
Check whether this is the header of an item delimiter.
Source§fn is_sequence_delimiter(&self) -> bool
fn is_sequence_delimiter(&self) -> bool
Check whether this is the header of a sequence delimiter.
Source§fn is_encapsulated_pixeldata(&self) -> bool
fn is_encapsulated_pixeldata(&self) -> bool
Check whether this is the header of an encapsulated pixel data.
impl<'v, I: 'v, P: 'v> StructuralPartialEq for DataElementRef<'v, I, P>
Auto Trait Implementations§
impl<'v, I, P> Freeze for DataElementRef<'v, I, P>
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>
impl<'v, I, P> Sync for DataElementRef<'v, I, P>
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§
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