Struct ListFormatOptions

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

Options for Intl.ListFormat constructor.

MDN documentation

Implementations

impl ListFormatOptions

fn set_locale_matcher(&self, value: LocaleMatcher)

impl ListFormatOptions

fn get_style(&self) -> Option<ListFormatStyle>

impl ListFormatOptions

fn get_type(&self) -> Option<ListFormatType>

impl ListFormatOptions

fn set_style(&self, value: ListFormatStyle)

impl ListFormatOptions

fn get_locale_matcher(&self) -> Option<LocaleMatcher>

impl ListFormatOptions

fn set_type(&self, value: ListFormatType)

impl ListFormatOptions

fn new() -> ListFormatOptions

Trait Implementations

impl AsRef<JsValue> for ListFormatOptions

fn as_ref(&self) -> &JsValue

impl AsRef<ListFormatOptions> for ListFormatOptions

fn as_ref(&self) -> &ListFormatOptions

impl AsRef<Object> for ListFormatOptions

fn as_ref(&self) -> &Object

impl Clone for ListFormatOptions

fn clone(&self) -> Self

impl Debug for ListFormatOptions

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

impl Default for ListFormatOptions

fn default() -> Self

impl Deref for ListFormatOptions

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

impl ErasableGeneric for ListFormatOptions

type Repr = JsValue;

impl From<JsValue> for ListFormatOptions

fn from(obj: JsValue) -> Self

impl From<ResolvedListFormatOptions> for ListFormatOptions

fn from(obj: ResolvedListFormatOptions) -> ListFormatOptions

impl FromWasmAbi for ListFormatOptions

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

impl IntoJsGeneric for ListFormatOptions where ListFormatOptions: JsGeneric,

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

impl IntoWasmAbi for ListFormatOptions

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

impl JsCast for ListFormatOptions

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

impl LongRefFromWasmAbi for ListFormatOptions

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

impl OptionFromWasmAbi for ListFormatOptions

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

impl OptionIntoWasmAbi for ListFormatOptions

fn none() -> Self::Abi

impl Promising for ListFormatOptions

type Resolution = ListFormatOptions;

impl RefFromWasmAbi for ListFormatOptions

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

impl UpcastFrom<ListFormatOptions> for ListFormatOptions

impl UpcastFrom<ResolvedListFormatOptions> for ListFormatOptions

impl WasmDescribe for ListFormatOptions

fn describe()

Auto Trait Implementations

impl Freeze for ListFormatOptions

impl RefUnwindSafe for ListFormatOptions

impl Send for ListFormatOptions

impl Sync for ListFormatOptions

impl Unpin for ListFormatOptions

impl UnsafeUnpin for ListFormatOptions

impl UnwindSafe for ListFormatOptions

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for ListFormatOptions

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

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

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

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

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

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

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

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

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

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