Enum nifti::Endianness [] [src]

pub enum Endianness {
    LE,
    BE,
}

Enumerate for the two kinds of endianness possible by the standard.

Variants

Little Endian

Big Endian

Methods

impl Endianness
[src]

[src]

Obtain this system's endianness

[src]

The opposite endianness: Little Endian returns Big Endian and vice versa.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

[src]

Read a primitive value with this endianness from the given source.

Trait Implementations

impl Debug for Endianness
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Endianness
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Endianness
[src]

impl Clone for Endianness
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Endianness
[src]