pub struct AnnotationMeasurement { /* private fields */ }Implementations§
Source§impl AnnotationMeasurement
impl AnnotationMeasurement
pub fn new(concept: DicomCode, units: DicomCode, values: Vec<f64>) -> Self
pub fn for_annotations( concept: DicomCode, units: DicomCode, values: Vec<f64>, annotation_indices: Vec<u32>, ) -> Result<Self>
pub fn concept(&self) -> &DicomCode
pub fn units(&self) -> &DicomCode
pub fn values(&self) -> &[f64]
pub fn annotation_indices(&self) -> Option<&[u32]>
Trait Implementations§
Source§impl Clone for AnnotationMeasurement
impl Clone for AnnotationMeasurement
Source§impl Debug for AnnotationMeasurement
impl Debug for AnnotationMeasurement
Source§impl PartialEq for AnnotationMeasurement
impl PartialEq for AnnotationMeasurement
impl StructuralPartialEq for AnnotationMeasurement
Auto Trait Implementations§
impl Freeze for AnnotationMeasurement
impl RefUnwindSafe for AnnotationMeasurement
impl Send for AnnotationMeasurement
impl Sync for AnnotationMeasurement
impl Unpin for AnnotationMeasurement
impl UnsafeUnpin for AnnotationMeasurement
impl UnwindSafe for AnnotationMeasurement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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