[][src]Module ikon::encode

Traits, types and functions to assist in encoding commonly used icon formats.

Enums

EncodingError

The error type for operations of the Encode trait.

Traits

Encode

The Encode trait represents a generic icon family encoder, providing basic inicialization methods as well as functionality for adding icons.

Save

The Save trait provides functionality for saving the contents of an Encode to the local file system.

Write

The Write trait provides functionality for writing the contents of an Encode into a io::Write implementor.

Functions

bmp

Converts raster graphics to BMP-encoded buffers.

png

Converts raster graphics to PNG-encoded buffers.

svg

Converts vector graphics to UTF8-encoded SVG strings.