Struct ListFormatOptions
#[repr(transparent)]
pub struct ListFormatOptions { /* private fields */ }
Options for Intl.ListFormat constructor.
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) -> boolfn unchecked_from_js(val: JsValue) -> Selffn 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()