[−][src]Trait nifti::object::NiftiObject
Trait type for all possible implementations of owning NIFTI-1 objects. Objects contain a NIFTI header, a volume, and a possibly empty extension sequence.
Associated Types
type Volume: NiftiVolume
[src]
The concrete type of the volume.
Required methods
pub fn header(&self) -> &NiftiHeader
[src]
Obtain a reference to the NIFTI header.
pub fn header_mut(&mut self) -> &mut NiftiHeader
[src]
Obtain a mutable reference to the NIFTI header.
pub fn extensions(&self) -> &ExtensionSequence
[src]
Obtain a reference to the object's extensions.
pub fn volume(&self) -> &Self::Volume
[src]
Obtain a reference to the object's volume.
pub fn into_volume(self) -> Self::Volume
[src]
Move the volume out of the object, discarding the header and extensions.
Implementors
impl<V> NiftiObject for GenericNiftiObject<V> where
V: NiftiVolume,
[src]
V: NiftiVolume,