Skip to main content

register_for

Function register_for 

Source
pub fn register_for(
    owner: &str,
    name: &str,
    svg: impl Into<Arc<[u8]>>,
    paint: Paint,
) -> Result<Icon, IconError>
Expand description

Registers a plugin’s SVG icon under <owner>:<name> (the plugin’s id as owner: my-plugin:mask-circle), as register does.