Module exr::prelude[][src]

Expand description

Export the most important items from exrs. Note: This includes a type called Result, possibly overwriting the default std::Result type usage.

Re-exports

pub use traits::*;
pub use crate::image::write::write_rgb_file;
pub use crate::image::write::write_rgba_file;
pub use crate::image::read::read_first_rgba_layer_from_file;
pub use crate::image::read::read_all_rgba_layers_from_file;
pub use crate::image::read::read_all_data_from_file;
pub use crate::image::read::read_all_flat_layers_from_file;
pub use crate::image::read::read_first_flat_layer_from_file;
pub use crate::image::*;
pub use crate::meta::attribute;
pub use crate::meta::MetaData;
pub use crate::meta::header::LayerAttributes;
pub use crate::meta::header::ImageAttributes;
pub use crate::block::samples::Sample;
pub use crate::meta::attribute::AttributeValue;
pub use crate::meta::attribute::Compression;
pub use crate::meta::attribute::Text;
pub use crate::meta::attribute::IntegerBounds;
pub use crate::meta::attribute::LineOrder;
pub use crate::meta::attribute::SampleType;
pub use crate::meta::attribute::TileDescription;
pub use crate::meta::attribute::ChannelDescription;
pub use crate::math::Vec2;
pub use crate::error::Result;
pub use crate::error::Error;

Modules

traits

Import this specifically if you want to be explicit but still use the extension traits.

Structs

SmallVec

A Vec-like container that can store a small number of elements inline.

f16

A 16-bit floating point type implementing the IEEE 754-2008 standard binary16 a.k.a half format.