Function icu_properties::bidi_data::bidi_auxiliary_properties

source ·
pub const fn bidi_auxiliary_properties() -> BidiAuxiliaryPropertiesBorrowed<'static>
Expand description

Creates a BidiAuxiliaryPropertiesV1 struct that represents the data for certain Bidi properties.

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Examples

use icu::properties::bidi_data;

let bidi_data = bidi_data::bidi_auxiliary_properties();

let open_paren = bidi_data.get32_mirroring_props('(' as u32);
assert_eq!(open_paren.mirroring_glyph, Some(')'));
assert_eq!(open_paren.mirrored, true);