ohos-xcomponent-binding 0.2.0

OpenHarmony's xcomponent binding for rust
use ohos_xcomponent_sys::*;

use ohos_enum_macro::EnumFrom;

#[derive(Debug, Clone, Copy, PartialEq, Eq, EnumFrom)]
#[enum_from_config(
    OH_NativeXComponent_TouchPointToolType,
    "OH_NativeXComponent_TouchPointToolType_OH_NATIVEXCOMPONENT_TOOL_TYPE_"
)]
pub enum TouchPointTool {
    Unknown,
    Finger,
    Pen,
    Rubber,
    Brush,
    Pencil,
    Airbrush,
    Mouse,
    Lens,
}