Struct SegmenterOptions
#[repr(transparent)]
pub struct SegmenterOptions { /* private fields */ }
Options for Intl.Segmenter constructor.
Implementations
impl SegmenterOptions
fn get_locale_matcher(&self) -> Option<LocaleMatcher>
impl SegmenterOptions
fn set_granularity(&self, value: SegmenterGranularity)
impl SegmenterOptions
fn set_locale_matcher(&self, value: LocaleMatcher)
impl SegmenterOptions
fn new() -> SegmenterOptions
impl SegmenterOptions
fn get_granularity(&self) -> Option<SegmenterGranularity>
Trait Implementations
impl AsRef<JsValue> for SegmenterOptions
fn as_ref(&self) -> &JsValue
impl AsRef<Object> for SegmenterOptions
fn as_ref(&self) -> &Object
impl AsRef<SegmenterOptions> for SegmenterOptions
fn as_ref(&self) -> &SegmenterOptions
impl Clone for SegmenterOptions
fn clone(&self) -> Self
impl Debug for SegmenterOptions
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for SegmenterOptions
fn default() -> Self
impl Deref for SegmenterOptions
type Target = Object;fn deref(&self) -> &Object
impl ErasableGeneric for SegmenterOptions
type Repr = JsValue;
impl From<JsValue> for SegmenterOptions
fn from(obj: JsValue) -> Self
impl From<ResolvedSegmenterOptions> for SegmenterOptions
fn from(obj: ResolvedSegmenterOptions) -> SegmenterOptions
impl FromWasmAbi for SegmenterOptions
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for SegmenterOptions
where
SegmenterOptions: JsGeneric,
type JsCanon = SegmenterOptions;fn to_js(self) -> SegmenterOptions
impl IntoWasmAbi for SegmenterOptions
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for SegmenterOptions
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for SegmenterOptions
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = SegmenterOptions;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for SegmenterOptions
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for SegmenterOptions
fn none() -> Self::Abi
impl Promising for SegmenterOptions
type Resolution = SegmenterOptions;
impl RefFromWasmAbi for SegmenterOptions
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<SegmenterOptions>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl UpcastFrom<ResolvedSegmenterOptions> for SegmenterOptions
impl UpcastFrom<SegmenterOptions> for SegmenterOptions
impl WasmDescribe for SegmenterOptions
fn describe()