Struct openexr::core::version::Version[][src]

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

The version represents a version number and the flags that are enabled for the file.

Implementations

Create a version from a given version number and flag.

Panics

The version number must be between 0 and 255, otherwise this will panic.

Create a version from the wrapped OpenEXR API.

File is tiled

File has multiple parts

File has at least one part which is not a regular scanline image or regular tiled image (that is, it is a deep format)

Return the version as a tiled version

Return the version as a non-tiled version

Get the version number portion of encoded version.

Get the flags portion of encoded version.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.