Module cosmic::iced_widget::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§
- A handle of Svg data.
- The appearance of an
Svg
. - A vector graphics image.
Enums§
- The possible status of an
Svg
.
Traits§
- The theme catalog of an
Svg
.
Type Aliases§
- A styling function for an
Svg
.