Enum dicom_core::header::VR
source · [−]pub enum VR {
Show 34 variants
AE,
AS,
AT,
CS,
DA,
DS,
DT,
FL,
FD,
IS,
LO,
LT,
OB,
OD,
OF,
OL,
OV,
OW,
PN,
SH,
SL,
SQ,
SS,
ST,
SV,
TM,
UC,
UI,
UL,
UN,
UR,
US,
UT,
UV,
}
Expand description
An enum type for a DICOM value representation.
Variants
AE
Application Entity
AS
Age String
AT
Attribute Tag
CS
Code String
DA
Date
DS
Decimal String
DT
Date Time
FL
Floating Point Single
FD
Floating Point Double
IS
Integer String
LO
Long String
LT
Long Text
OB
Other Byte
OD
Other Double
OF
Other Float
OL
Other Long
OV
Other Very Long
OW
Other Word
PN
Person Name
SH
Short String
SL
Signed Long
SQ
Sequence of Items
SS
Signed Short
ST
Short Text
SV
Time
TM
Signed Very Long
UC
Unlimited Characters
UI
Unique Identifier (UID)
UL
Unsigned Long
UN
Unknown
UR
Universal Resource Identifier or Universal Resource Locator (URI/URL)
US
Unsigned Short
UT
Unlimited Text
UV
Unsigned Very Long
Implementations
Trait Implementations
sourceimpl FromStr for VR
impl FromStr for VR
Obtain the value representation corresponding to the given string. The string should hold exactly two UTF-8 encoded alphabetic characters in upper case, otherwise no match is made.
sourceimpl Ord for VR
impl Ord for VR
sourceimpl PartialOrd<VR> for VR
impl PartialOrd<VR> for VR
sourcefn partial_cmp(&self, other: &VR) -> Option<Ordering>
fn partial_cmp(&self, other: &VR) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for VR
impl Eq for VR
impl StructuralEq for VR
impl StructuralPartialEq for VR
Auto Trait Implementations
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