Enum SegmenterGranularity
#[non_exhaustive]
#[repr(u32)]
pub enum SegmenterGranularity
Type for Intl.Segmenter.
Variants
-
Grapheme = 0u32 -
Word = 1u32 -
Sentence = 2u32
Implementations
impl SegmenterGranularity
fn from_js_value(obj: &JsValue) -> Option<SegmenterGranularity>
Trait Implementations
impl Clone for SegmenterGranularity
fn clone(&self) -> Self
impl Copy for SegmenterGranularity
impl Debug for SegmenterGranularity
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for SegmenterGranularity
impl FromWasmAbi for SegmenterGranularity
type Abi = u32;unsafe fn from_abi(val: u32) -> Self
impl IntoWasmAbi for SegmenterGranularity
type Abi = u32;fn into_abi(self) -> u32
impl OptionFromWasmAbi for SegmenterGranularity
fn is_none(val: &u32) -> bool
impl OptionIntoWasmAbi for SegmenterGranularity
fn none() -> Self::Abi
impl PartialEq for SegmenterGranularity
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for SegmenterGranularity
impl WasmDescribe for SegmenterGranularity
fn describe()