Struct cryiorust::mar::Mar[][src]

pub struct Mar { /* fields omitted */ }
Expand description

Main exported struct.

Implementations

Creates a new empty Mar struct.

Reads a Mar frame from a file.

Trait Implementations

Reimplemented method returning a reference of the Array.

Reimplemented method returning a reference of the Header.

Reimplemented method returning a mutable reference of the Header.

Reimplemented method returning a mutable reference of the Array.

Reimplemented method which changes Array in the Frame.

Reimplemented method which returns Array consuming the Frame.

Reimplemented method which returns Array consuming the Frame.

Switches Frame to the next sub-frame.

Returns total number of sub-frames.

Returns the current frame number.

Checks whether this Frame contains sub-frames.

Returns the sum of the Frame’s Array.

Returns the minimum value of the Frame’s Array.

Returns the maximum value of the Frame’s Array.

Returns the first dimension of the Frame’s Array.

Returns the second dimension of the Frame’s Array.

Returns an i64 value from the Frame’s Header.

Returns an &str value from the Frame’s Header or empty &str if the key does not exist. Read more

Returns an f64 value from the Frame’s Header or zero if the key does not exist. Read more

Returns an &str value from the Frame’s Header.

Returns a String value from the Frame’s Header. The String is empty if the key does not exist. Read more

Inserts a HeaderEntry value into the Frame’s Header with a String as key.

Swaps dims of the Frame’s Array.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.