Class PropertyValueNameToEnumMapper

A type capable of looking up a property value from a string name.

See the Rust documentation for PropertyParser for more information.

See the Rust documentation for PropertyParserBorrowed for more information.

See the Rust documentation for new for more information.

Constructors

Accessors

  • get ffiValue(): number
  • Returns number

Methods

  • Get the property value matching the given name, using loose matching

    Returns -1 if the name is unknown for this property

    See the Rust documentation for get_loose for more information.

    Parameters

    • name: string

    Returns number

  • Get the property value matching the given name, using strict matching

    Returns -1 if the name is unknown for this property

    See the Rust documentation for get_strict for more information.

    Parameters

    • name: string

    Returns number

""