#[non_exhaustive]pub enum VirtualVr {
Exact(VR),
Xs,
Ox,
Px,
Lt,
}
Expand description
A “virtual” value representation (VR) descriptor which extends the standard enumeration with context-dependent VRs.
It is used by element dictionary entries to describe circumstances
in which the real VR may depend on context.
As an example, the Pixel Data attribute
can have a value representation of either OB
or OW
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Exact(VR)
The value representation is exactly known and does not depend on context.
Xs
Represents a pixel data sample value with a short magnitude.
The value representation depends on
the pixel data value sample representation.
If pixel data values are signed
(represented by a Pixel Representation value of 1
),
then values with this virtual VR
should be interpreted as signed 16 bit integers
(SS
),
otherwise they should be interpreted as unsigned 16 bit integers
(US
).
Ox
Px
Lt
Implementations§
Trait Implementations§
impl Copy for VirtualVr
impl Eq for VirtualVr
impl StructuralPartialEq for VirtualVr
Auto Trait Implementations§
impl Freeze for VirtualVr
impl RefUnwindSafe for VirtualVr
impl Send for VirtualVr
impl Sync for VirtualVr
impl Unpin for VirtualVr
impl UnwindSafe for VirtualVr
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
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)
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>
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>
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