map_string_and_string
import { map_string_and_string } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
An owned native map with typed keys and values. Use get, set, keys and size to access its entries, and delete to release it.
Constructors and members
static new
An owned native map with typed keys and values. Use get, set, keys and size to access its entries, and delete to release it.
new(): map_string_and_string;The map_string_and_string result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
size
Return the number of entries in this native map.
size(): number;The number result.
get
Look up a native value by key; an absent entry returns undefined. Dispose returned native object handles separately.
get(_0: EmbindString): EmbindString | undefined;_00 argument (EmbindString).
The EmbindString | undefined result.
set
Insert or replace a native value by key.
set(_0: EmbindString, _1: EmbindString): void;_00 argument (EmbindString).
_11 argument (EmbindString).
keys
Return an owned native vector containing the map keys.
keys(): StringVector;The StringVector result. Release returned native handles with using or delete(), including handles nested in results.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.