cosmic::iced::widget

Module svg

source
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()
}

Display vector graphics in your application.

Structs§

Enums§

Traits§

Type Aliases§