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 IconPackwhere
RawVecInner: Send,
impl Sync for IconPackwhere
RawVecInner: Sync,
impl Unpin for IconPack
impl UnsafeUnpin for IconPackwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for IconPackwhere
RawVecInner: UnwindSafe,
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