[]Struct jni_android_sys::android::text::Html

#[repr(transparent)]
pub struct Html(_);

public class Html

Required feature: "android-text-Html"

Methods

impl Html

pub fn fromHtml_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]

Deprecated

fromHtml

Required features: "android-text-Spanned", "java-lang-String"

pub fn fromHtml_String_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]

fromHtml

Required features: "android-text-Spanned", "java-lang-String"

pub fn fromHtml_String_ImageGetter_TagHandler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Html_ImageGetter>>,
    arg2: impl Into<Option<&'env Html_TagHandler>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]

Deprecated

fromHtml

Required features: "android-text-Html_ImageGetter", "android-text-Html_TagHandler", "android-text-Spanned", "java-lang-String"

pub fn fromHtml_String_int_ImageGetter_TagHandler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Html_ImageGetter>>,
    arg3: impl Into<Option<&'env Html_TagHandler>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]

fromHtml

Required features: "android-text-Html_ImageGetter", "android-text-Html_TagHandler", "android-text-Spanned", "java-lang-String"

pub fn toHtml_Spanned<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Spanned>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

toHtml

Required features: "android-text-Spanned", "java-lang-String"

pub fn toHtml_Spanned_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Spanned>>,
    arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toHtml

Required features: "android-text-Spanned", "java-lang-String"

pub fn escapeHtml<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

escapeHtml

Required features: "java-lang-CharSequence", "java-lang-String"

pub const FROM_HTML_MODE_COMPACT: i32[src]

public static final FROM_HTML_MODE_COMPACT

pub const FROM_HTML_MODE_LEGACY: i32[src]

public static final FROM_HTML_MODE_LEGACY

pub const FROM_HTML_OPTION_USE_CSS_COLORS: i32[src]

public static final FROM_HTML_OPTION_USE_CSS_COLORS

pub const FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE: i32[src]

pub const FROM_HTML_SEPARATOR_LINE_BREAK_DIV: i32[src]

pub const FROM_HTML_SEPARATOR_LINE_BREAK_HEADING: i32[src]

pub const FROM_HTML_SEPARATOR_LINE_BREAK_LIST: i32[src]

pub const FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM: i32[src]

pub const FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH: i32[src]

pub const TO_HTML_PARAGRAPH_LINES_CONSECUTIVE: i32[src]

pub const TO_HTML_PARAGRAPH_LINES_INDIVIDUAL: i32[src]

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Html

impl AsValidJObjectAndEnv for Html

impl Deref for Html

type Target = Object

The resulting type after dereferencing.

impl JniType for Html

Auto Trait Implementations

impl RefUnwindSafe for Html

impl !Send for Html

impl !Sync for Html

impl Unpin for Html

impl UnwindSafe for Html

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.