Struct leechbar::Image [] [src]

pub struct Image { /* fields omitted */ }

A cached image.

This creates an image that is cached on the X server. Keeping this around instead of moving it will usually lead to a lower CPU consumption but slightly increase the memory usage of the X server.

Methods

impl Image
[src]

[src]

Create a new image from a DynamicImage.

Trait Implementations

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more