pub trait Header: HasLength {
// Required method
fn tag(&self) -> Tag;
// Provided methods
fn is_item(&self) -> bool { ... }
fn is_item_delimiter(&self) -> bool { ... }
fn is_sequence_delimiter(&self) -> bool { ... }
fn is_encapsulated_pixeldata(&self) -> bool { ... }
}
Expand description
A trait for a data type containing a DICOM header.
Required Methods§
Provided Methods§
Sourcefn is_item_delimiter(&self) -> bool
fn is_item_delimiter(&self) -> bool
Check whether this is the header of an item delimiter.
Sourcefn is_sequence_delimiter(&self) -> bool
fn is_sequence_delimiter(&self) -> bool
Check whether this is the header of a sequence delimiter.
Sourcefn is_encapsulated_pixeldata(&self) -> bool
fn is_encapsulated_pixeldata(&self) -> bool
Check whether this is the header of an encapsulated pixel data.