unic_char_property

Trait CustomCharProperty

Source
pub trait CustomCharProperty<Value>: CharProperty {
    // Required method
    fn actual(&self) -> Value;
}
Expand description

A Character Property with custom values.

Custom values means any non-enumerated, non-numeric value.

Examples: Age property that returns a UnicodeVersion value.

Required Methods§

Source

fn actual(&self) -> Value

The actual (inner) value for the property value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§