pub struct IconPack {
pub title: String,
pub license: String,
pub license_text: String,
pub icons: Vec<(String, String)>,
pub view: (f32, f32, f32, f32),
}Expand description
Um pacote de ícones lido do formato aylis-icons (veja parse_pack).
Fields§
§title: String§license: String§license_text: StringTexto da licença (vai junto com o app).
icons: Vec<(String, String)>Nome → caminho SVG, ainda sem ler (ler todos de uma vez seria lento).
view: (f32, f32, f32, f32)viewBox dos caminhos (x, y, largura, altura).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for IconPack
impl Freeze for IconPack
impl Move for IconPack
impl RefUnwindSafe for IconPack
impl Send for IconPack
impl Sync for IconPack
impl Unpin for IconPack
impl UnsafeUnpin for IconPack
impl UnwindSafe for IconPack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more