Enum RangeSource
#[non_exhaustive]
#[repr(u32)]
pub enum RangeSource
Source indicator for range format parts.
Indicates which part of the range (start, end, or shared) a formatted
part belongs to when using formatRangeToParts().
Variants
-
StartRange = 0u32 -
EndRange = 1u32
Implementations
impl RangeSource
fn from_js_value(obj: &JsValue) -> Option<RangeSource>
Trait Implementations
impl Clone for RangeSource
fn clone(&self) -> Self
impl Copy for RangeSource
impl Debug for RangeSource
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for RangeSource
impl FromWasmAbi for RangeSource
type Abi = u32;unsafe fn from_abi(val: u32) -> Self
impl IntoWasmAbi for RangeSource
type Abi = u32;fn into_abi(self) -> u32
impl OptionFromWasmAbi for RangeSource
fn is_none(val: &u32) -> bool
impl OptionIntoWasmAbi for RangeSource
fn none() -> Self::Abi
impl PartialEq for RangeSource
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for RangeSource
impl WasmDescribe for RangeSource
fn describe()