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<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: PartialEq + 'v, P: PartialEq + 'v> StructuralPartialEq for DataElementRef<'v, I, P>
Auto Trait Implementations§
impl<'v, I, P> Forget for DataElementRef<'v, I, P>
impl<'v, I, P> Freeze for DataElementRef<'v, I, P>
impl<'v, I, P> Move for DataElementRef<'v, I, P>
impl<'v, I, P> RefUnwindSafe for DataElementRef<'v, I, P>where
String: RefUnwindSafe,
Tag: RefUnwindSafe,
u8: RefUnwindSafe,
i16: RefUnwindSafe,
u16: RefUnwindSafe,
i32: RefUnwindSafe,
u32: RefUnwindSafe,
i64: RefUnwindSafe,
u64: RefUnwindSafe,
f32: RefUnwindSafe,
f64: RefUnwindSafe,
DicomDate: RefUnwindSafe,
DicomDateTime: RefUnwindSafe,
DicomTime: RefUnwindSafe,
I: RefUnwindSafe,
P: RefUnwindSafe,
impl<'v, I, P> Send for DataElementRef<'v, I, P>
impl<'v, I, P> Sync for DataElementRef<'v, I, P>where
P: Sync,
I: Sync,
SmallVecData<[String; 2]>: Sync,
String: Sync,
RawVecInner: Sync,
SmallVecData<[Tag; 2]>: Sync,
Tag: Sync,
SmallVecData<[u8; 2]>: Sync,
u8: Sync,
SmallVecData<[i16; 2]>: Sync,
i16: Sync,
SmallVecData<[u16; 2]>: Sync,
u16: Sync,
SmallVecData<[i32; 2]>: Sync,
i32: Sync,
SmallVecData<[u32; 2]>: Sync,
u32: Sync,
SmallVecData<[i64; 2]>: Sync,
i64: Sync,
SmallVecData<[u64; 2]>: Sync,
u64: Sync,
SmallVecData<[f32; 2]>: Sync,
f32: Sync,
SmallVecData<[f64; 2]>: Sync,
f64: Sync,
SmallVecData<[DicomDate; 2]>: Sync,
DicomDate: Sync,
SmallVecData<[DicomDateTime; 2]>: Sync,
DicomDateTime: Sync,
SmallVecData<[DicomTime; 2]>: Sync,
DicomTime: Sync,
SmallVecData<[I; 2]>: Sync,
SmallVecData<[P; 2]>: Sync,
impl<'v, I, P> Unpin for DataElementRef<'v, I, P>
impl<'v, I, P> UnsafeUnpin for DataElementRef<'v, I, P>where
&'v Value<I, P>: UnsafeUnpin,
impl<'v, I, P> UnwindSafe for DataElementRef<'v, I, P>where
&'v Value<I, P>: UnwindSafe,
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§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