Struct ResolvedSegmenterOptions

#[repr(transparent)]
pub struct ResolvedSegmenterOptions { /* private fields */ }

Resolved options returned by Intl.Segmenter.prototype.resolvedOptions().

MDN documentation

Implementations

impl ResolvedSegmenterOptions

fn get_locale(&self) -> JsString

The resolved locale string.

Trait Implementations

impl AsRef<JsValue> for ResolvedSegmenterOptions

fn as_ref(&self) -> &JsValue

impl AsRef<ResolvedSegmenterOptions> for ResolvedSegmenterOptions

fn as_ref(&self) -> &ResolvedSegmenterOptions

impl AsRef<SegmenterOptions> for ResolvedSegmenterOptions

fn as_ref(&self) -> &SegmenterOptions

impl Clone for ResolvedSegmenterOptions

fn clone(&self) -> Self

impl Debug for ResolvedSegmenterOptions

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Deref for ResolvedSegmenterOptions

type Target = SegmenterOptions;
fn deref(&self) -> &SegmenterOptions

impl ErasableGeneric for ResolvedSegmenterOptions

type Repr = JsValue;

impl From<JsValue> for ResolvedSegmenterOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for ResolvedSegmenterOptions

type Abi = <JsValue as FromWasmAbi>::Abi;
unsafe fn from_abi(js: Self::Abi) -> Self

impl IntoJsGeneric for ResolvedSegmenterOptions where ResolvedSegmenterOptions: JsGeneric,

type JsCanon = ResolvedSegmenterOptions;
fn to_js(self) -> ResolvedSegmenterOptions

impl IntoWasmAbi for ResolvedSegmenterOptions

type Abi = <JsValue as IntoWasmAbi>::Abi;
fn into_abi(self) -> Self::Abi

impl JsCast for ResolvedSegmenterOptions

fn instanceof(val: &JsValue) -> bool
fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self

impl LongRefFromWasmAbi for ResolvedSegmenterOptions

type Abi = <JsValue as LongRefFromWasmAbi>::Abi;
type Anchor = ResolvedSegmenterOptions;
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor

impl OptionFromWasmAbi for ResolvedSegmenterOptions

fn is_none(abi: &Self::Abi) -> bool

impl OptionIntoWasmAbi for ResolvedSegmenterOptions

fn none() -> Self::Abi

impl Promising for ResolvedSegmenterOptions

type Resolution = ResolvedSegmenterOptions;

impl RefFromWasmAbi for ResolvedSegmenterOptions

type Abi = <JsValue as RefFromWasmAbi>::Abi;
type Anchor = ManuallyDrop<ResolvedSegmenterOptions>;
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor

impl UpcastFrom<ResolvedSegmenterOptions> for ResolvedSegmenterOptions

impl WasmDescribe for ResolvedSegmenterOptions

fn describe()

Auto Trait Implementations

impl Freeze for ResolvedSegmenterOptions

impl RefUnwindSafe for ResolvedSegmenterOptions

impl Send for ResolvedSegmenterOptions

impl Sync for ResolvedSegmenterOptions

impl Unpin for ResolvedSegmenterOptions

impl UnsafeUnpin for ResolvedSegmenterOptions

impl UnwindSafe for ResolvedSegmenterOptions

Blanket Implementations

impl<P, T> Receiver for ResolvedSegmenterOptions where P: Deref<Target = T> + ?Sized, T: ?Sized,

impl<S, T> Upcast<T> for ResolvedSegmenterOptions where T: UpcastFrom<S> + ?Sized, S: ?Sized,

impl<T> Any for ResolvedSegmenterOptions where T: 'static + ?Sized,

impl<T> Borrow<T> for ResolvedSegmenterOptions where T: ?Sized,

impl<T> BorrowMut<T> for ResolvedSegmenterOptions where T: ?Sized,

impl<T> CloneToUninit for ResolvedSegmenterOptions where T: Clone,

impl<T> From<T> for ResolvedSegmenterOptions

impl<T> JsGeneric for ResolvedSegmenterOptions where T: ErasableGeneric<Repr = JsValue> + UpcastFrom<T> + Upcast<JsValue> + JsCast + 'static,

impl<T> ReturnWasmAbi for ResolvedSegmenterOptions where T: IntoWasmAbi,

impl<T> ToOwned for ResolvedSegmenterOptions where T: Clone,

impl<T> TryFromJsValue for ResolvedSegmenterOptions where T: JsCast,

impl<T> VectorFromWasmAbi for ResolvedSegmenterOptions where T: ErasableGeneric<Repr = JsValue> + WasmDescribe,

impl<T> VectorIntoWasmAbi for ResolvedSegmenterOptions where T: ErasableGeneric<Repr = JsValue> + WasmDescribe,

impl<T> VectorRefIntoWasmAbi for ResolvedSegmenterOptions where &'a T: for<'a> Into<JsValue>,

impl<T, U> Into<U> for ResolvedSegmenterOptions where U: From<T>,

impl<T, U> TryFrom<U> for ResolvedSegmenterOptions where U: Into<T>,

impl<T, U> TryInto<U> for ResolvedSegmenterOptions where U: TryFrom<T>,