iced::widget

Module svg

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§

Enums§

Traits§

Type Aliases§