Enum dicom_core::ops::AttributeSelectorStep
source · pub enum AttributeSelectorStep {
Tag(Tag),
Nested {
tag: Tag,
item: u32,
},
}
Expand description
A single step of an attribute selection.
A selector step may either select an element directly at the root (Tag
)
or a specific item in a sequence to navigate into (Nested
).
A full attribute selector can be specified
by using a sequence of these steps
(but should always end with the Tag
variant,
otherwise the operation would be unspecified).
Variants§
Tag(Tag)
Select the element with the tag reachable at the root of this data set
Nested
Select an item in a data set sequence, as an intermediate step
Trait Implementations§
source§impl Clone for AttributeSelectorStep
impl Clone for AttributeSelectorStep
source§fn clone(&self) -> AttributeSelectorStep
fn clone(&self) -> AttributeSelectorStep
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 Debug for AttributeSelectorStep
impl Debug for AttributeSelectorStep
source§impl Display for AttributeSelectorStep
impl Display for AttributeSelectorStep
source§impl From<Tag> for AttributeSelectorStep
impl From<Tag> for AttributeSelectorStep
source§impl Hash for AttributeSelectorStep
impl Hash for AttributeSelectorStep
source§impl PartialEq<AttributeSelectorStep> for AttributeSelectorStep
impl PartialEq<AttributeSelectorStep> for AttributeSelectorStep
source§fn eq(&self, other: &AttributeSelectorStep) -> bool
fn eq(&self, other: &AttributeSelectorStep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttributeSelectorStep
impl Eq for AttributeSelectorStep
impl StructuralEq for AttributeSelectorStep
impl StructuralPartialEq for AttributeSelectorStep
Auto Trait Implementations§
impl RefUnwindSafe for AttributeSelectorStep
impl Send for AttributeSelectorStep
impl Sync for AttributeSelectorStep
impl Unpin for AttributeSelectorStep
impl UnwindSafe for AttributeSelectorStep
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