OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

LibraryEntry

pub struct LibraryEntry

What a palette name in the library turns out to be.

LibraryEntry — fields

source: PaletteSource

Whether the colours come from a compiled table or from a file.

builtin: Option<Palette>

The Palette this name is, when it is one of the SDK's own.

None for a file-backed palette, which is the honest answer: there is no number to persist. A caller that stores a palette choice as a number rather than a string wants exactly this field.