Struct TextInfo
#[repr(transparent)]
pub struct TextInfo { /* private fields */ }
Text layout information for a locale.
Implementations
impl TextInfo
fn direction(&self) -> JsStringThe text direction ("ltr" or "rtl").
Trait Implementations
impl AsRef<JsValue> for TextInfo
fn as_ref(&self) -> &JsValue
impl AsRef<Object> for TextInfo
fn as_ref(&self) -> &Object
impl AsRef<TextInfo> for TextInfo
fn as_ref(&self) -> &TextInfo
impl Clone for TextInfo
fn clone(&self) -> Self
impl Debug for TextInfo
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for TextInfo
type Target = Object;fn deref(&self) -> &Object
impl ErasableGeneric for TextInfo
type Repr = JsValue;
impl From<JsValue> for TextInfo
fn from(obj: JsValue) -> Self
impl FromWasmAbi for TextInfo
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for TextInfo
where
TextInfo: JsGeneric,
type JsCanon = TextInfo;fn to_js(self) -> TextInfo
impl IntoWasmAbi for TextInfo
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for TextInfo
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for TextInfo
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = TextInfo;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for TextInfo
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for TextInfo
fn none() -> Self::Abi
impl Promising for TextInfo
type Resolution = TextInfo;
impl RefFromWasmAbi for TextInfo
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<TextInfo>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl UpcastFrom<TextInfo> for TextInfo
impl WasmDescribe for TextInfo
fn describe()