iconflow 1.0.0

Unified icon library for Rust GUI apps with 10+ embedded icon packs (Bootstrap, Heroicons, Phosphor, Lucide, Tabler). Type-safe API for egui, iced and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::core::{Size, Style};

#[derive(Debug, Clone, PartialEq, Eq)]
pub enum IconError {
    PackDisabled {
        pack: &'static str,
    },
    IconNotFound {
        pack: &'static str,
        name: String,
    },
    VariantUnavailable {
        pack: &'static str,
        name: String,
        requested: (Style, Size),
        available: &'static [(Style, Size)],
    },
}