Struct dicom_core::header::PrimitiveDataElementRef
source · pub struct PrimitiveDataElementRef<'v> { /* private fields */ }Expand description
A data type that represents a DICOM data element with a borrowed primitive value.
Implementations§
source§impl<'a> PrimitiveDataElementRef<'a>
impl<'a> PrimitiveDataElementRef<'a>
sourcepub fn new(header: DataElementHeader, value: &'a PrimitiveValue) -> Self
pub fn new(header: DataElementHeader, value: &'a PrimitiveValue) -> Self
Main constructor for a primitive data element reference.
Trait Implementations§
source§impl<'v> Clone for PrimitiveDataElementRef<'v>
impl<'v> Clone for PrimitiveDataElementRef<'v>
source§fn clone(&self) -> PrimitiveDataElementRef<'v>
fn clone(&self) -> PrimitiveDataElementRef<'v>
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 more