Enum flo_ui::image::Image [] [src]

pub enum Image {
    Png(Arc<ImageData>),
    Svg(Arc<ImageData>),
}

Represents a static image

Variants

Represents an image containing PNG data

Represents an image containing SVG data

Methods

impl Image
[src]

[src]

Creates a new image from an RGBA buffer

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

Auto Trait Implementations

impl Send for Image

impl Sync for Image