Struct ico::IconDir [] [src]

pub struct IconDir { /* fields omitted */ }

A collection of images; the contents of a single ICO or CUR file.

Methods

impl IconDir
[src]

[src]

Creates a new, empty collection of icons/cursors.

[src]

Returns the type of resource stored in this collection, either icons or cursors.

[src]

Returns the entries in this collection.

[src]

Adds an entry to the collection. Panics if self.resource_type() != entry.resource_type().

[src]

Reads an ICO or CUR file into memory.

[src]

Writes an ICO or CUR file out to disk.

Trait Implementations

impl Clone for IconDir
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more