pub fn register(
name: &str,
svg: impl Into<Arc<[u8]>>,
paint: Paint,
) -> Result<Icon, IconError>Expand description
Registers an SVG icon under a name (kebab case, like play-circle),
or replaces the one registered under it. In use from the next theme
install. A name keeps its id for the whole process, even unregistered
(unregister) and registered again. A name
<owner>:<name> is owned by owner (see register_for); egui-pop’s
names and the phosphor: ones are refused.