iced::widget

Module svg

Source
Available on crate feature svg only.
Expand description

Svg widgets display vector graphics in your application.

§Example

use iced::widget::svg;

enum Message {
    // ...
}

fn view(state: &State) -> Element<'_, Message> {
    svg("tiger.svg").into()
}

Structs§

Handle
A handle of Svg data.
Style
The appearance of an Svg.
Svg
A vector graphics image.

Enums§

Status
The possible status of an Svg.

Traits§

Catalog
The theme catalog of an Svg.

Type Aliases§

StyleFn
A styling function for an Svg.