// generated by diplomat-tool
// dart format off

part of 'lib.g.dart';

/// See the [Rust documentation for `WordType`](https://docs.rs/icu/2.2.0/icu/segmenter/options/enum.WordType.html) for more information.
enum SegmenterWordType {
  // ignore: public_member_api_docs
  none,
  // ignore: public_member_api_docs
  number,
  // ignore: public_member_api_docs
  letter;

  /// See the [Rust documentation for `is_word_like`](https://docs.rs/icu/2.2.0/icu/segmenter/options/enum.WordType.html#method.is_word_like) for more information.
  bool get isWordLike {
    final result = _icu4x_SegmenterWordType_is_word_like_mv1(index);
    return result;
  }

}

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<ffi.Bool Function(ffi.Int32)>(isLeaf: true, symbol: 'icu4x_SegmenterWordType_is_word_like_mv1')
// ignore: non_constant_identifier_names
external bool _icu4x_SegmenterWordType_is_word_like_mv1(int self);

// dart format on
