Crate fa_iced

Source
Expand description

Rust-Iced-FA

Wrapper for Font Awesome icons.

Enums§

FaIcon
Implementation of Font Awesome icons as enum.

Constants§

FA_ICON_0
Font Awesome Unicode string for https://fontawesome.com/icons/0.
FA_ICON_1
Font Awesome Unicode string for https://fontawesome.com/icons/1.
FA_ICON_2
Font Awesome Unicode string for https://fontawesome.com/icons/2.
FA_ICON_3
Font Awesome Unicode string for https://fontawesome.com/icons/3.
FA_ICON_4
Font Awesome Unicode string for https://fontawesome.com/icons/4.
FA_ICON_5
Font Awesome Unicode string for https://fontawesome.com/icons/5.
FA_ICON_6
Font Awesome Unicode string for https://fontawesome.com/icons/6.
FA_ICON_7
Font Awesome Unicode string for https://fontawesome.com/icons/7.
FA_ICON_8
Font Awesome Unicode string for https://fontawesome.com/icons/8.
FA_ICON_9
Font Awesome Unicode string for https://fontawesome.com/icons/9.
FA_ICON_BARS
Font Awesome Unicode string for https://fontawesome.com/icons/bars
FA_ICON_CIRCLE_CHECK
Font Awesome Unicode string for https://fontawesome.com/icons/circle-check
FA_ICON_CIRCLE_XMARK
Font Awesome Unicode string for https://fontawesome.com/icons/circle-xmark
FA_ICON_EDIT
Font Awesome Unicode string for https://fontawesome.com/icons/pen-to-square
FA_ICON_GEAR
Font Awesome Unicode string for https://fontawesome.com/icons/gear
FA_ICON_ID_BADGE
Font Awesome Unicode string for https://fontawesome.com/icons/id-badge
FA_ICON_ID_CARD
Font Awesome Unicode string for https://fontawesome.com/icons/id-card
FA_ICON_ID_CARD_CLIP
Font Awesome Unicode string for https://fontawesome.com/icons/id-card-clip
FA_ICON_LIST
Font Awesome Unicode string for https://fontawesome.com/icons/list
FA_ICON_LIST_OL
Font Awesome Unicode string for https://fontawesome.com/icons/list-ol
FA_ICON_LIST_RADIO
Font Awesome Unicode string for https://fontawesome.com/icons/list-radio
FA_ICON_LIST_TIMELINE
Font Awesome Unicode string for https://fontawesome.com/icons/list-timeline
FA_ICON_LIST_TREE
Font Awesome Unicode string for https://fontawesome.com/icons/list-tree
FA_ICON_LIST_UL
Font Awesome Unicode string for https://fontawesome.com/icons/list-ul
FA_ICON_MINUS
Font Awesome Unicode string for https://fontawesome.com/icons/minus
FA_ICON_NEW
Font Awesome Unicode string for https://fontawesome.com/icons/file.
FA_ICON_OPEN
Font Awesome Unicode string for https://fontawesome.com/icons/folder-open.
FA_ICON_RECTANGLE_LIST
Font Awesome Unicode string for https://fontawesome.com/icons/rectangle-list
FA_ICON_SAVE
Font Awesome Unicode string for https://fontawesome.com/icons/floppy-disk.
FA_ICON_SCREWDRIVER_WRENCH
Font Awesome Unicode string for https://fontawesome.com/icons/screwdriver-wrench
FA_ICON_SQUARE_LIST
Font Awesome Unicode string for https://fontawesome.com/icons/square-list
FA_ICON_TABLE_LIST
Font Awesome Unicode string for https://fontawesome.com/icons/table-list
FA_ICON_USER
Font Awesome Unicode string for https://fontawesome.com/icons/user.
FA_ICON_USER_MINUS
Font Awesome Unicode string for https://fontawesome.com/icons/user_minus
FA_ICON_USER_PLUS
Font Awesome Unicode string for https://fontawesome.com/icons/user_plus
FA_ICON_USER_XMARK
Font Awesome Unicode string for https://fontawesome.com/icons/user_xmark
FONT_DATA_FA_BRANDS_OTF
Font data for Font Awesome Brands OTF. Loaded using include_bytes!().
FONT_DATA_FA_BRANDS_TTF
Font data for Font Awesome Brands TTF. Loaded using include_bytes!().
FONT_DATA_FA_REGULAR_OTF
Font data for Font Awesome Regular OTF. Loaded using include_bytes!().
FONT_DATA_FA_REGULAR_TTF
Font data for Font Awesome Regular TTF. Loaded using include_bytes!().
FONT_DATA_FA_SOLID_OTF
Font data for Font Awesome Solid OTF. Loaded using include_bytes!().
FONT_DATA_FA_SOLID_TTF
Font data for Font Awesome Solid TTF. Loaded using include_bytes!().
FONT_FA_REGULAR
The “Regular” version of Font Awesome version 6 Free.
FONT_FA_SOLID
The “Solid” version of Font Awesome version 6 Free.

Functions§

fa_unicode_char
Convert the Font Awesome code into the corresponding Unicode char.
iced_text_icon_regular
Create an iced text element containing the specified Font Awesome icon.
iced_text_icon_solid
Create an iced text element containing the specified Font Awesome icon.
load_font_fontawesome_otf
Load Font Awesome OTF files. Should only be called once.
load_font_fontawesome_ttf
Load Font Awesome TTF files. Should only be called once.