pub struct FileFormat {
pub meta: FileMetaInformation,
pub dataset: DataSet,
}Expand description
A DICOM Part 10 file: File Meta Information + dataset.
Fields§
§meta: FileMetaInformation§dataset: DataSetImplementations§
Source§impl FileFormat
impl FileFormat
pub fn new(meta: FileMetaInformation, dataset: DataSet) -> Self
Sourcepub fn from_dataset(
sop_class_uid: &str,
sop_instance_uid: &str,
dataset: DataSet,
) -> Self
pub fn from_dataset( sop_class_uid: &str, sop_instance_uid: &str, dataset: DataSet, ) -> Self
Create from a dataset, auto-generating File Meta Information.
Uses Explicit VR Little Endian as the default transfer syntax.
Trait Implementations§
Source§impl Clone for FileFormat
impl Clone for FileFormat
Source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FileFormat
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnsafeUnpin for FileFormat
impl UnwindSafe for FileFormat
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