···4545 pub struct SketchParameterId;
4646}
47474848+impl SketchId {
4949+ /// Encodes this id as an opaque `u64`, stable for the same slotmap slot+version
5050+ /// within a single process. Use only for deterministic widget-key derivation; the
5151+ /// representation is not portable across builds or persisted artifacts.
5252+ #[must_use]
5353+ pub fn as_u64(self) -> u64 {
5454+ use slotmap::Key;
5555+ self.data().as_ffi()
5656+ }
5757+}
5858+4859#[derive(Copy, Clone, Debug, PartialEq, PartialOrd)]
4960pub struct Tolerance(f64);
5061