Class ICU4XPropertyValueNameToEnumMapper

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

See the Rust documentation for PropertyValueNameToEnumMapper for more information.

See the Rust documentation for PropertyValueNameToEnumMapperBorrowed for more information.

Constructors

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