moonrockz/diagrams/icons

Types

Reference

pub struct Reference {
  pack : String
  key : String
} derive(Eq, @moonbitlang/core/debug.Debug)

An icon identity. Geometry and provider assets belong to renderers.

Source

Reference::equal

fn Reference::equal(Reference, Reference) -> Bool

Source

Reference::new

fn Reference::new(pack : String, key : String) -> Reference

Source

Reference::not_equal

fn Reference::not_equal(x : Reference, y : Reference) -> Bool

Source

Reference::to_repr

fn Reference::to_repr(Reference) -> @moonbitlang/core/debug.Repr

Source

Values

known

fn known(reference : Reference) -> Bool

Registry identity lookup without any renderer or asset dependency.

Source

normalize_key

fn normalize_key(key : String) -> String

Upstream participant annotators use ASCII case-insensitive keys.

Source