Enum nifti::typedef::NiftiType[][src]

#[repr(u16)]
pub enum NiftiType { Uint8, Int16, Int32, Float32, Complex64, Float64, Rgb24, Int8, Uint16, Uint32, Int64, Uint64, Float128, Complex128, Complex256, Rgba32, }

Data type for representing a NIFTI value type in a volume. Methods for reading values of that type from a source are also included.

Variants

unsigned char.

signed short.

signed int.

32 bit float.

64 bit complex = 2 32 bit floats.

64 bit float = double.

3 8 bit bytes.

signed char.

unsigned short.

unsigned int.

signed long long.

unsigned long long.

128 bit float = long double.

128 bit complex = 2 64 bit floats.

256 bit complex = 2 128 bit floats

4 8 bit bytes.

Methods

impl NiftiType
[src]

Retrieve the size of an element of this data type, in bytes.

impl NiftiType
[src]

Read a primitive voxel value from a source.

Trait Implementations

impl Debug for NiftiType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NiftiType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NiftiType
[src]

impl Hash for NiftiType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for NiftiType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NiftiType
[src]

Auto Trait Implementations

impl Send for NiftiType

impl Sync for NiftiType